This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: loops
- From: Jim Blandy <jimb at codesourcery dot com>
- To: Jonathan Shan <jonshan at winlab dot rutgers dot edu>
- Cc: gdb at sourceware dot org
- Date: Fri, 25 Aug 2006 13:05:34 -0700
- Subject: Re: loops
- References: <Pine.GSO.4.60.0608251554110.16426@liman1b>
Jonathan Shan <jonshan@winlab.rutgers.edu> writes:
> How do I "skip over" some iterations of a loop?
> I don't want to press 'continue' 50000 times.
You can set an "ignore count" on a breakpoint. See the below, and
search for "ignore".
http://sources.redhat.com/gdb/current/onlinedocs/gdb_6.html#SEC38