Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Max on November 03, 2007, 08:50:50 am

Title: For those with gdb issues..
Post by: Max on November 03, 2007, 08:50:50 am
Few weeks ago I switched to gcc 4.2.1 (sjlj) and I got some issues with the debugger (gdb).

In the MinGw mailing list I saw the message

http://sourceforge.net/mailarchive/message.php?msg_id=46D2BF3D.5040709%40cox.net

It was discussing the same issue osbserved in my environment with gdb,

and in which it was suggested a workaround: Use -gstabs instead of -g.

Following this advice my gdb issues disappear.

Hopefully this helps somebody (I saw several posts about gdb issues).

Max