This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Delete all breakpoints with less typing


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]