I'm playing around a few hours with mingw under windows xp (version 5.1.3). I'm trying to debug the app I'm porting to win32 with mingw's gdb. So I can load the app with it and even run it. Also I can set a breakpoint, e.g.to break in the ctor of the wxWidget main frame. But if I run it, the app just runs ignoring my breakpoint (always, I tried it with line numbers too). The executables are build and linked with -O0 -g3. I also tried with -ggdb, -gstabs, -gdwarf-2 and so on, but most time gdbs behavior was even worse. I alos tried the insight-gdb-version (6.6). Same thing.Code:break MainFrame.cpp:MainFrame::MainFrame()
Linux gdb + same app works just fine.
What I'm doing wrong?
Thank you for any hints!