Delete all breakpoints with less typing
Tom Tromey
tromey@redhat.com
Wed Feb 13 01:22:00 GMT 2008
>>>>> "Chris" == Chris Stankevitz <cstankevitz@toyon.com> writes:
Chris> 6 characters for the command plus two more to confirm. I'm used to
Chris> MSVC which does it with one stroke (SHIFT-F9). Is there a way to
Chris> remove breakpoints in gdb with less typing and no confirmation?
If you really want to get crazy, bind F9 to a readline keyboard macro
that deletes the current line, enters "delete b RET y RET" (or if that
doesn't work, "delete 1-10000 RET"), and then yanks the previously
deleted text. See (info "(readline)Readline Init File Syntax") for
more information.
You could of course do this in Emacs' gud mode as well :-)
Tom
More information about the Gdb
mailing list