This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] Print the name of the float-format
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 1 Dec 2002 18:45:32 -0500
- Subject: Re: [commit] Print the name of the float-format
- References: <3DE4EABE.3080508@redhat.com>
On Wed, Nov 27, 2002 at 10:54:38AM -0500, Andrew Cagney wrote:
> Hello,
>
> This patch tweaks ``(gdb) maint print arch'' so that the
> TARGET_FLOAT_FORMAT et.al. have their name, and not their address,
> printed vis:
>
> gdbarch_dump: TARGET_FLOAT_FORMAT = floatformat_ieee_single_big
>
> BTW, anyone know of a way for gdb to find its own executable so that it
> can translate gdbarch function addresses into function names?
Why, yes... I have some code to find the executable. I'll post it in a
couple of days, it goes with some binutils code that I'm working on
right now. See make_relative_prefix, newly added to libiberty.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer