Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: Chris Stankevitz <cstankevitz@toyon.com>
Cc: gdb@sourceware.org
Subject: Re: Delete all breakpoints with less typing
Date: Tue, 12 Feb 2008 19:37:00 -0000	[thread overview]
Message-ID: <1202845022.19253.94.camel@localhost.localdomain> (raw)
In-Reply-To: <47B1F3B7.8040901@toyon.com>

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!  
;-)




  parent reply	other threads:[~2008-02-12 19:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12 19:30 Chris Stankevitz
2008-02-12 19:35 ` Daniel Jacobowitz
2008-02-12 19:41   ` Daniel Jacobowitz
2008-02-12 19:37 ` Michael Snyder [this message]
2008-02-12 21:37   ` Chris Stankevitz
2008-02-13  1:22 ` Tom Tromey

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=1202845022.19253.94.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=cstankevitz@toyon.com \
    --cc=gdb@sourceware.org \
    /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