[rfc] Fix separate debuginfo files on Cell (do not mask off high address bits)
Jan Kratochvil
jan.kratochvil@redhat.com
Thu Mar 4 20:32:00 GMT 2010
On Thu, 04 Mar 2010 21:01:01 +0100, Ulrich Weigand wrote:
> when using the Cell/B.E. combined debugger, separate debug objfiles for
> SPE executables are currently completely broken. This is because the
> new relocation code now masks off high address bits, corrupting the
> encoded SPU ID in GDB CORE_ADDR values.
Interesting addr_bit is lower than the valid address width.
> Jan, I understand you said this masking-off should no longer be necessary
> due to other changes that occurred in the meantime. Could you verify that
> PIE still works for you with the patch below?
Yes, it works. I have considered this masking is just no-op now (only
possibly with the unresolved negative mips32 addresses reported by Daniel J.).
No regressions on {x86_64,x86_64-m32,i686}-fedora12-linux-gnu.
Thanks,
Jan
More information about the Gdb-patches
mailing list