This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]