[patch] Fix BZ15121 -- x/a broken for addresses in shared libraries

Maciej W. Rozycki macro@linux-mips.org
Thu Sep 10 15:19:00 GMT 2015


On Thu, 10 Sep 2015, Pedro Alves wrote:

> > I can't imagine any reason why (upper levels of) 64-bit GDB would need
> > to be lied to that the 32-bit inferior's 0x80000004 pointer has
> > CORE_ADDR value of 0xFFFFFFFF80000004.
> 
> MIPS has signed addresses, at the hardware level.  Thus a 32-bit ABI on
> a 64-bit machine ends up seeing with sign-extended addresses.

 SH seems to be the same.

  Maciej



More information about the Gdb-patches mailing list