This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
dladdr alternative for static "t" symbols?
- From: Brendan Miller <catphive at catphive dot net>
- To: libc-help at sourceware dot org
- Date: Mon, 10 Aug 2009 17:51:19 -0700
- Subject: dladdr alternative for static "t" symbols?
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