This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Why does mips define elf_backend_sign_extend_vma to true?
On Wed, Aug 08, 2001 at 10:02:28AM -0700, H . J . Lu wrote:
> The gdb I checked out from the 5.1 branch yesterday doesn't do it. BTW,
> what
>
> (gdb) print printk
Not sign extended.
> # gdb yourgdb
> .....
> (top-gdb) print sizeof (CORE_ADDR)
8 (64-bit).
That's why I was confused. I'm going to go figure out what want64 at
configure time accomplishes that MIPS doesn't always do. I don't have
a "64-bit-bfd" built, but CORE_ADDR is always 64-bit on MIPS.
Wait... --enable-64-bit-bfd should not have any effect on MIPS. All it
does is force wordsize=64, as far as I can see, and wordsize=64 is
forced by the inclusion of the elf64 vectors in $selvecs for
mips*-*-linux-gnu. Does not using it have any effect on your problem?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer