I have a compiled c++ application that produces a stack trace when it crashes. At the moment, the stack trace isn’t particularly meaningful. I would like to process it so that it contains symbols, rather than addresses.
Does anyone have any pointers on how I might go about doing this?
If you have a map file its quite easy to map symbols to the addresses in the stack dump.
I wrote an article (including some sources) about this sometime ago at ddj:
http://www.drdobbs.com/tools/185300443