This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Delete all breakpoints with less typing
- From: Daniel Jacobowitz <drow at false dot org>
- To: Chris Stankevitz <cstankevitz at toyon dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 12 Feb 2008 14:34:41 -0500
- Subject: Re: Delete all breakpoints with less typing
- References: <47B1F3B7.8040901@toyon.com>
On Tue, Feb 12, 2008 at 11:29:59AM -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?
It's just "d" if you really want to abbreviate.
You can disable confirmation by "set query off".
--
Daniel Jacobowitz
CodeSourcery