[PATCH] * GDB Texinfo manual: correct keyboard shortcut for gud-break in Emacs.

Jeremy Bryant
2025-05-01T22:09:03Z

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