I use MinGW and GDB 5.2.1 on WinXP
I updated to 10.05 but now get a strange behaviour when debugging: if I set a breakpoint in a c++ function (in my project files, of course...), CodeBlocks stops not at the breakpoint, but at the line calling the function (the only right breakpoints are those in main()). Similarly, if I am stepping in a line calling a function and push 'Trace into' button, I see the cursor skipping to the function, but immediately "bouncing" again to the calling line. These continuos skips are effectively shown in the GDB log.
I checked all debugger option (in Project and Settings), but these seems same as in older version and all are unchanged. Tried to install both No-MinGW and MinGW binaries, but the result is the same.
Returning to 8.02 makes all OK.
What's wrong?
Thanks N.Cassetta
IIRC, the gdb recommend is 6.x instead of 5.x now.
Note, I don't use the debugger so I only now what i have read.
Tim S.
Yes, ncassetta test gdb 6.8.0 or 7.0.1/7.1.0...
5.3 is extremely old
Yes, thanks! Solved with GDB 7.1
N.Cassetta