On Fri, Mar 13, 2009 at 11:16:50AM +0100, Thomas Richter wrote: > Compile with g++ -O0 -ggdb3 test.cpp and start debugging with gdb a.out. Now > enter the > command > > break A::A > > and start the program with "run". Even though the breakpoint is reported to > be set, the > program does not stop in the constructor.
This problem is still present in GDB 7.0: (gdb) break A::A (gdb) info break No breakpoints or watchpoints. That's a bizarre result. -- Daniel Jacobowitz CodeSourcery -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org