Re: Display libc function names instead of address ?

Eli Zaretskii
2005-06-16T18:46:09Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1052 bytes --]

> Date: Thu, 16 Jun 2005 12:26:05 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sources.redhat.com
>
> On Thu, Jun 16, 2005 at 05:45:59PM +0200, Victor STINNER wrote:
> > Le jeudi 16 juin 2005 à 11:19 -0400, Daniel Jacobowitz a écrit :
> > > Thanks for checking! That's output from objdump, right? It doesn't
> > > seem to work for me in GDB, just in objdump. But perhaps I can figure
> > > out where to wire it in.
> >
> > Yep, it's in objdump. I think that you just have to update bfd and
> > opcodes libraries, no ?
>
> No - GDB also needs a change.
>
> This has been on my todo list for months, ever since objdump gained
> support. Here's an implementation - the patch applies to GDB CVS.
> Elena, is this patch OK?
>
> Tested on i686-pc-linux-gnu. It leaves a stray if (1) to minimize the
> size of the diff; I would remove that as an obvious followup.

Will this change modify what GDB displays in response to some command?
If so, please see whether something in the manual needs a suitable
change as well.

TIA