utils.c: Sign-extend addresses if required by the target
Sun Dec 16 21:43:00 GMT 2007
On Thu, Nov 22, 2007 at 04:25:18PM +0000, Maciej W. Rozycki wrote:
> 2007-11-22 Nigel Stephens <email@example.com>
> Maciej W. Rozycki <firstname.lastname@example.org>
> * utils.c (string_to_core_addr): If executable format indicates
> that addresses should be sign-extended and there are only 8 hex
> digits in the address, then do so.
> * Makefile.in (utils.o): Depend on $(gdbcore_h).
> OK to apply?
OK. This routine is used by MI, but should not be - a long term TODO
item is to change the way we present frame IDs to MI frontends to not
be based on the stack pointer, and then its use will go away. But
that's not going to happen too soon.
More information about the Gdb-patches