[rfc] Fix separate debuginfo files on Cell (do not mask off high address bits)

Ulrich Weigand uweigand@de.ibm.com
Fri Mar 5 19:35:00 GMT 2010


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



More information about the Gdb-patches mailing list