From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111733 invoked by alias); 31 Mar 2015 10:07:16 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 109983 invoked by uid 89); 31 Mar 2015 10:07:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wi0-f179.google.com Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 31 Mar 2015 10:07:14 +0000 Received: by wixm2 with SMTP id m2so10684155wix.0 for ; Tue, 31 Mar 2015 03:07:11 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.195.13.168 with SMTP id ez8mr71309657wjd.30.1427795975702; Tue, 31 Mar 2015 02:59:35 -0700 (PDT) Received: by 10.194.210.104 with HTTP; Tue, 31 Mar 2015 02:59:35 -0700 (PDT) In-Reply-To: References: Date: Tue, 31 Mar 2015 10:07:00 -0000 Message-ID: Subject: Re: How to delete all breakpoints? From: Ofir Cohen To: Aleksey Midenkov Cc: "gdb@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00123.txt.bz2 You can delete all breakpoints using "delete" with no arguments. >From gdb's manual[1]: "Delete the breakpoints, watchpoints, or catchpoints of the breakpoint ranges specified as arguments. If no argument is specified, delete all breakpoints" - Ofir [1] https://sourceware.org/gdb/onlinedocs/gdb/Delete-Breaks.html#Delete-Breaks On 31 March 2015 at 12:56, Aleksey Midenkov wrote: > How to delete all breakpoints when exact numbers list is unknown? > Giving range argument results in many error messages: > > (gdb) delete breakpoints 0-100 > No breakpoint number 0. > No breakpoint number 5. > No breakpoint number 6. > ... > No breakpoint number 98. > No breakpoint number 99. > No breakpoint number 100.