This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
how to decode back trace addresses manually?
- From: Han <keepsimple at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Sat, 23 Jan 2010 22:49:24 -0800
- Subject: how to decode back trace addresses manually?
Hi,
I am using backtrace and backtrace_symbols to print back traces in a
C program. Sometimes it cannot print out the symbols and print only
the hex address from a library. However it is a bit difficult for me
to re-compile the library with -rdynamic option.
My question is: can I manually decode the address given I have the
source code and object files? Btw, I don't have to find out the line
number, but at least the function names.
thanks
Han