[NEWBIE] How to exit from a loop

Daniel Jacobowitz drow@false.org
Mon Jun 30 15:36:00 GMT 2008


On Mon, Jun 30, 2008 at 05:33:11PM +0200, Stefano Sabatini wrote:
> I wonder if there is a more efficient way to exit from the loop,
> without the need to set a breakpoint at the rigth place, continue and
> then unset the breakpoint but with just a single command/macro.

Sure - take a look at the "advance" and "until" commands.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list