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 Fri, Jun 17, 2005 at 12:44:21PM +0200, Eli Zaretskii wrote:
> > Date: Thu, 16 Jun 2005 15:03:15 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: victor.stinner@haypocalc.com, gdb@sources.redhat.com
> > 
> > Yes, Windows is not affected by this problem - it's related to shared
> > libraries and dynamic linking, and Windows DLL linking is different
> > enough that it does not have this quirk - though I'm sure it has plenty
> > of its own.
> 
> Ah, the lights go on: so this problem only happens with dynamically
> linked programs?  If so, that is what I was missing.  Thanks for
> explaining it.

Right!  Sorry that wasn't clear.  The patch actually affects things
other than dynamic linking - but not for most platforms.  It fills in
symbols at places where there are no symbols in the ELF object, but
symbols would be useful to have, and there's a logical symbol to put
there.  Another example is PowerPC64 "dot" symbols, which label
function descriptors.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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