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, 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...   ;-)



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