This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Fix separate debuginfo files on Cell (do not mask off high address bits)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 4 Mar 2010 21:31:53 +0100
- Subject: Re: [rfc] Fix separate debuginfo files on Cell (do not mask off high address bits)
- References: <201003042001.o24K12OX011806@d12av02.megacenter.de.ibm.com>
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