From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24645 invoked by alias); 25 Aug 2006 20:05:10 -0000 Received: (qmail 24618 invoked by uid 22791); 25 Aug 2006 20:05:07 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 Aug 2006 20:05:06 +0000 Received: (qmail 2958 invoked from network); 25 Aug 2006 20:05:04 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Aug 2006 20:05:04 -0000 To: Jonathan Shan Cc: gdb@sourceware.org Subject: Re: loops References: From: Jim Blandy Date: Fri, 25 Aug 2006 20:05:00 -0000 In-Reply-To: (Jonathan Shan's message of "Fri, 25 Aug 2006 15:57:18 -0400 (EDT)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00201.txt.bz2 Jonathan Shan 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