dladdr alternative for static "t" symbols?

Brendan Miller catphive@catphive.net
Tue Aug 11 00:51:00 GMT 2009


I'm trying to build a better backtrace. Is there an alternative to
dladdr that can get symbol information on static symbols?

Also, what's the easiest way to get the line number from the
instruction pointer?

I'm on ELF with DWARF debugging symbols.

Sorry if these are big questions, or out of the scope of glibc. Any
pointers in the right direction, or the right place to ask would be
appreciated.

Thanks,
Brendan



More information about the Libc-help mailing list