This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Print 64bit address from gdb
- To: GDB <gdb at sourceware dot cygnus dot com>
- Subject: Re: Print 64bit address from gdb
- From: Daniel Jacobowitz <drow at mvista dot com>
- Date: Thu, 9 Aug 2001 16:31:41 -0700
- References: <20010809161153.A25494@lucon.org>
On Thu, Aug 09, 2001 at 04:11:53PM -0700, H . J . Lu wrote:
> I am looking at the sign extended vma bug. The gdb output doesn't make
> any sesnes to me:
>
> During symbol reading, inner block (0x802ac9d4-0xffffffff) not inside outer block (0x802aca18-0xffffffff).
>
> There is
>
> struct complaint innerblock_anon_complaint =
> {"inner block (0x%lx-0x%lx) not inside outer block (0x%lx-0x%lx)", 0, 0};
>
> I don't think it works with the sign extended vma from the 64bit bfd.
> Am I right? Are we going to fix it? I guess we should pass
>
> {"inner block (0x%llx-0x%llx) not inside outer block (0x%llx-0x%llx)", 0, 0};
>
> if the address is long long.
Yes, that's a problem. Perhaps you can use your conveniently introduced
*printf_vma functions for this?
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer