This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Print the name of the float-format


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]