This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: printing symbols with > 32 bit addrs.
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [RFA]: printing symbols with > 32 bit addrs.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 15 Feb 2001 19:02:32 -0500
- Cc: gdb-patches at sources dot redhat dot com, jimb at cygnus dot com, ezannoni at cygnus dot com
- References: <3A8C5BDF.97924160@cygnus.com>
Michael Snyder wrote:
>
>
>
> ------------------------------------------------------------------------
> Oddly enough, info functions seems to fail to print addresses of
> non-debugging symbols when addresses are greater than 32 bits.
> This patch seems a bit crude, so I'm wondering if anyone has
> a better suggestion.
And non portable :-)
> 2001-02-15 Michael Snyder <msnyder@mvstp600e.cygnus.com>
>
> * symtab.c (print_msymbol_info): Print addresses > 32 bits.
(Kevin B has a useful cheat sheet of the int->text functions that he
posted). At a guess paddr().
Andrew