Backtrace and static funtion
Ian Lance Taylor
iant@google.com
Wed Sep 23 00:36:00 GMT 2009
dpant <mail.dpant@gmail.com> writes:
> How can i annotate the backtrace generated addresses with the mapfile, if
> some of the function in the call stack are static. Does gcc dumps static
> functions addresses also?
I do not understand your question. Which map file are you referring to?
When it comes to annotating executable addresses, usually what you want
to do is 1) compile with -g so that you get debugging information, and
2) map addresses to filename/linenumber via addr2line from the GNU
binutils.
Ian
More information about the Gcc-help
mailing list