Re: How does one get static procedure names?
Daniel Jacobowitz <[email protected]> Tue, 27 Oct 2009 15:37:31 -0400
| Newsgroups | gmane.comp.gdb.devel,gmane.comp.gdb.general |
|---|---|
| Message-ID | <[email protected]> |
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