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: Multiple breakpoints


On Thu, Apr 03, 2008 at 05:51:00PM +0400, Vladimir Prus wrote:
> Daniel Jacobowitz wrote:
> 
> > On Thu, Apr 03, 2008 at 11:01:10AM +0200, Andreas Schwab wrote:
> >> TRY_CATCH expands to a loop, probably the loop condition has been
> >> duplicated by the compiler.
> > 
> > I think we try to set only one breakpoint per containing function,
> > though.
> 
> Uh-uh, you keep on telling this :-)
> Per *block*, not per function.

Durn.  Well, I would have thought the parts of a for loop were in the
same block, but I can see GCC deciding otherwise.

-- 
Daniel Jacobowitz
CodeSourcery


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