On Windows platform, I am having trouble with postmortem debugging of programs,
compiled with MinGW GCC. I am using the recent versions (GCC 4.4+ and GDB 7+).
I was able to include debug information and debug with GDB, but the
fun ends when
I need to load a stack dump (minidump), generated by Windows.
GDB doesn't seem to like its format.
My guesses so far are:
1. Some library which I can call in my exception handler function -
this library would
then generate GDB-readable dumps?
2. Some debugging frontend that can load Windows stack dumps and uses
GDB as backend?
3. Need to upgrade GDB?
My question is, how to postmortem debug MinGW compiled programs,
preferably using GDB?
I was surprised to find no answer for such a critical aspect of programming.
If no solution exists, I would be very happy to hear any suggestions.
This is the last issue
preventing MinGW from being a 100% competitive development package for Windows.
Thank you and best regards.