Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jeremy Bryant <jb@jeremybryant.net>
To: gdb-patches@sourceware.org, Eli Zaretskii <eliz@gnu.org>,
	Tom Tromey <tom@tromey.com>
Subject: [PATCH] * GDB Texinfo manual: correct keyboard shortcut for gud-break in Emacs.
Date: Thu, 01 May 2025 23:08:04 +0100	[thread overview]
Message-ID: <87msbwt263.fsf@jeremybryant.net> (raw)

Eli, please find attached a patch of the texinfo manual to correct the keybinding of gud-break
in Emacs.

More generally, I believe that this section predates the changes in
Emacs of M-x gdb vs M-x gud-gdb, so I will propose further patches down
the line.  (vc-annotate indicates the text hasn't been updated in a long
time)

Tom, please note this time the patch is provided inline below rather than attachment as
you previously suggested.




From fe7239f36dbdc871dfa726be732be68b92ef705a Mon Sep 17 00:00:00 2001
From: Jeremy Bryant <jb@jeremybryant.net>
Date: Thu, 1 May 2025 22:42:18 +0100
Subject: [PATCH] * Correct keyboard shortcut for gud-break in Emacs.

---
 gdb/doc/gdb.texinfo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9b4aa5b47b2..19de241c51d 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -31399,7 +31399,7 @@ Go down the number of frames indicated by the numeric argument, like the
 @value{GDBN} @code{down} command.
 @end table
 
-In any source file, the Emacs command @kbd{C-x @key{SPC}} (@code{gud-break})
+In any source file, the Emacs command @kbd{C-x C-a C-b} (@code{gud-break})
 tells @value{GDBN} to set a breakpoint on the source line point is on.
 
 In text command mode, if you type @kbd{M-x speedbar}, Emacs displays a
-- 
2.47.2



             reply	other threads:[~2025-05-01 22:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-01 22:08 Jeremy Bryant [this message]
2025-05-02  6:20 ` Eli Zaretskii
2025-05-02  7:15   ` Eli Zaretskii
2025-05-02 21:04     ` [PATCH v2] * GDB Texinfo manual: Correctly reference Emacs facilities Jeremy Bryant
2025-05-10 10:29       ` Eli Zaretskii
     [not found]         ` <875xgzi8k8.fsf@jeremybryant.net>
2025-06-14  8:06           ` Eli Zaretskii

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=87msbwt263.fsf@jeremybryant.net \
    --to=jb@jeremybryant.net \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /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