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: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: jan dot kratochvil at redhat dot com (Jan Kratochvil)
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 5 Mar 2010 20:35:37 +0100 (CET)
- Subject: Re: [rfc] Fix separate debuginfo files on Cell (do not mask off high address bits)
Jan Kratochvil wrote:
> 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.
Yes, the reason for this is to strip off the SPU ID when converting
address back for output as strings ...
> 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.
Great, thanks for verifying!
I've checked this in to head and 7.1 branch now.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com