From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17193 invoked by alias); 12 Feb 2008 19:37:30 -0000 Received: (qmail 17185 invoked by uid 22791); 12 Feb 2008 19:37:29 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Feb 2008 19:37:05 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 384D33C2D5; Tue, 12 Feb 2008 11:37:03 -0800 (PST) Subject: Re: Delete all breakpoints with less typing From: Michael Snyder To: Chris Stankevitz Cc: gdb@sourceware.org In-Reply-To: <47B1F3B7.8040901@toyon.com> References: <47B1F3B7.8040901@toyon.com> Content-Type: text/plain Date: Tue, 12 Feb 2008 19:37:00 -0000 Message-Id: <1202845022.19253.94.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2008-02/txt/msg00073.txt.bz2 On Tue, 2008-02-12 at 11:29 -0800, Chris Stankevitz wrote: > Hello, > > This is how I delete all breakpoints: > > (gdb) del b > Delete all breakpoints? (y or n) y > (gdb) > > 6 characters for the command plus two more to confirm. I'm used to MSVC > which does it with one stroke (SHIFT-F9). Is there a way to remove > breakpoints in gdb with less typing and no confirmation? Absolutely! The " b" is not necessary, since "delete" defaults to "delete breakpoint". Now you're down to four keystrokes plus two. And "set confirm off" will assure gdb that you know what you want to do. Down to four keystrokes total. We would not want you getting RSS because of gdb! ;-)