This is the mail archive of the gdb@sourceware.org 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: How does one get static procedure names?


On Tue, Oct 27, 2009 at 12:33:39PM -0700, Bruce Korb wrote:
> Exactly.  I know it'd be some work.  I think I need to
> call:  dlopen(NULL, RTLD_NOW)

No.  You need to open the file and have your own ELF and symbol table
reader.  They are not in the area mapped by dlopen.

> and then copy & fiddle code out of GDB.  yes?  :)

GDB is almost certainly not where you want to get this code from.  We
just use BFD...

-- 
Daniel Jacobowitz
CodeSourcery


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