Author Topic: GCC 4.1.1, MinGW, GDB 6.3.2  (Read 4601 times)

Offline badboy

  • Single posting newcomer
  • *
  • Posts: 4
GCC 4.1.1, MinGW, GDB 6.3.2
« on: July 10, 2006, 01:24:06 pm »
I am using GCC 4.1.1 as suggested in
http://gda.utp.edu.co/~ceniza/GCC-4.1.1/

When I use GDB 6.3.2 with Code:Blocks, I see that GDB 6.3.2 fails when it
comes to single stepping code with printf statements.

This means that when I reach a statement with printf statement and
press F7 to go to the next line, GDB fails and single stepping is no
longer possible. This does not happen with MinGW GCC 3.4.5.

I am using CB_20060709_rev2719_win32.7z. The results are same with CB_20060701_rev2652_win32.7z.

Any suggestions?

---------
badboy

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: GCC 4.1.1, MinGW, GDB 6.3.2
« Reply #1 on: July 10, 2006, 01:50:13 pm »
For people that want to be assured that they can get some productive work done without fighting the "bleeding edge", it's best to stay within the bounds of well used, mostly de-bugged, time tested software.

gcc 3.4.x and gdb 6.3.x get few complaints. They just work. I use them everyday on windows, linux, and mac.

That way, I can cuss at my own bugs and not someone elses.

Try 'em, you'll like 'em

Edit: I had to learn this the hard way.
« Last Edit: July 10, 2006, 01:57:39 pm by Pecan »

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: GCC 4.1.1, MinGW, GDB 6.3.2
« Reply #2 on: July 10, 2006, 06:00:05 pm »
On linux and mac GCC 4.0.x do nicely too.