gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does one get static procedure names?


From: Daniel Jacobowitz
Subject: Re: How does one get static procedure names?
Date: Tue, 27 Oct 2009 15:37:31 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]