This is the mail archive of the gdb@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: Display libc function names instead of address ?


On Thu, Jun 16, 2005 at 05:00:45PM +0200, Victor STINNER wrote:
> Le jeudi 16 juin 2005 à 00:43 -0400, Daniel Jacobowitz a écrit :
> > GDB can't do this - but, I think, that the very latest BFD/opcodes
> > library supports this for some targets.  Someone needs to hook those
> > bits up to GDB.
> 
> Yep you're right. Google said me that BFD and opcodes are part of
> binutils. So I took last CVS version. It gives me better result :
> 
>  804839b:       e8 10 ff ff ff          call   80482b0 <printf@plt>
> instead of
>  804839b:       e8 10 ff ff ff          call   80482b0 <_init+0x38>
> 
> So I think that I have to wait until next GDB release.

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.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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