Hi all,
for my own needs I developed a tiny UI for the addr2line tool to analyse crash reports as they are produced by applications like Code::Blocks (using the exchndl.dll). It scans the created report ("*.rpt") and resolves all adresses possible using all crash logs available in this very file (there might be multiple crashes appended after each other). I attach the sources to this post for convenience and probably to help debugging C::B.
Notice: For this to work you'll need to have your application compiled with debug symbols. However, for the case you are running a stripped version, but have the version with debug symbols as reference I allow to replace the path accordingly.
In my case I need to replace "C:\Devel\CodeBlocks\" with "C:\Devel\CodeBlocks\src\devel\", as in the latter there is the compiled version of C::B with debug symbols
It maybe of use for other devs, too.
Note: This is WINDOWS ONLY. Under Linux, the crash log looks different (a XML file) feel free to enhance this as you like, but don't forget to post the modifications here and don't make money out of it... GPL3 you know...! ;-) :lol: