Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: Jonathan Shan <jonshan@winlab.rutgers.edu>
Cc: gdb@sourceware.org
Subject: Re: loops
Date: Fri, 25 Aug 2006 20:05:00 -0000	[thread overview]
Message-ID: <m3mz9soa29.fsf@codesourcery.com> (raw)
In-Reply-To: <Pine.GSO.4.60.0608251554110.16426@liman1b> (Jonathan Shan's message of "Fri, 25 Aug 2006 15:57:18 -0400 (EDT)")


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


      parent reply	other threads:[~2006-08-25 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-25 19:57 loops Jonathan Shan
2006-08-25 20:04 ` loops Alfred M. Szmidt
2006-08-25 20:05 ` Jim Blandy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3mz9soa29.fsf@codesourcery.com \
    --to=jimb@codesourcery.com \
    --cc=gdb@sourceware.org \
    --cc=jonshan@winlab.rutgers.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox