"Krzysztof Wasilewski" <krzysztof.wasilewski@...> writes:
> Hello all,
> Has anyone see such a thing? I have gcc 3.2.1, mingw runtime 2.3,
> binutils 2.13.90 and gdb 5.2.1. Gdb stops on some breakpoints, but it
> misses most of them! I'm really confused. I compiled my code with -g3
> and without -O.
gcc (as the other C/C++ compilers I know) doesn't default to
"no-optimization". You must give the -O0 flag to produce code which is
ok for full debug.
Which programming language are you using? C++?
BTW, gdb 5.2.2 is out (no MinGW version for now)
> I also tried with Cygwin gdb, but it was exactly the
> same. I wonder if this could have anything to do with the fact that I
> have a dual-processor system? Am I the only person who is experiencing
> this problem?