Re: Backtrace and static funtion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dpant <mail.dpant@xxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux