This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb breakpoint problem
On Mon, Jun 11, 2007 at 11:33:15PM -0400, kdsfinger@gmail.com wrote:
> The breakpoints set at line 22, 23, 24 are all ignored. However, the
> breakpoints set at line 16, 17, 18 are all good to break the program.
> What's the difference? They are doing the same thing. Why gdb treated
> them differently? Thanks for your comments.
That's a known bug in GDB - it has trouble with the way GCC generates
constructors for C++ classes.
--
Daniel Jacobowitz
CodeSourcery