Reputation: 14251
I have an exe compiled with mingw but core dumps generated via the windows MiniDump functions. If I open the core dump in WinDbg, get copy the call stack addresses to a text file, and then run it through addr2line it works. Surely, however, there must be a better way. Is there another debugger which can parse the debug information produced by gcc and the minidump files?
Upvotes: 2
Views: 4231
Reputation: 2459
There's several tools you can use (Visual Studio, WinDbg, DebugDiag) to extract callstacks and even diagnosis from a minidump. I've written a short "how-to" guide to doing so, which you can find here.
If you're seeing only addresses and not actual function call names and locations, it's most likely that either your symbol path is not set up correctly for the tool you're using, or that the .pdb files from your application are missing (and/or you haven't set up a symbol server).
Upvotes: 1