Multiple breakpoints

Michael Snyder msnyder@specifix.com
Thu Apr 3 21:36:00 GMT 2008


On Thu, 2008-04-03 at 10:01 -0400, Daniel Jacobowitz wrote:
> 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.

The inside parts probably are, but there has to be loop
block, and there has to be something outside the loop
block to decide whether or not to repeat the loop block.

If that made sense...   ;-)




More information about the Gdb mailing list