From: Tom Tromey <tromey@redhat.com>
To: Chris Stankevitz <cstankevitz@toyon.com>
Cc: gdb@sourceware.org
Subject: Re: Delete all breakpoints with less typing
Date: Wed, 13 Feb 2008 01:22:00 -0000 [thread overview]
Message-ID: <m38x1pg07l.fsf@fleche.redhat.com> (raw)
In-Reply-To: <47B1F3B7.8040901@toyon.com> (Chris Stankevitz's message of "Tue\, 12 Feb 2008 11\:29\:59 -0800")
>>>>> "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
prev parent reply other threads:[~2008-02-13 1:22 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
2008-02-12 21:37 ` Chris Stankevitz
2008-02-13 1:22 ` Tom Tromey [this message]
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=m38x1pg07l.fsf@fleche.redhat.com \
--to=tromey@redhat.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