summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Diancheng <dianchengwang@gmail.com>2023-07-14 11:06:32 +0800
committerEli Zaretskii <eliz@gnu.org>2023-07-15 11:38:36 +0300
commitafdf54a5313ec898b6045e48eb6dce7d4abfa565 (patch)
tree289da5d3bd2b21c9ba59bdaf59401ac74329f7a6
parentb54febef5d735efdc907c5e5cd016bed74e338a8 (diff)
downloademacs-afdf54a5313ec898b6045e48eb6dce7d4abfa565.tar.gz
* lisp/progmodes/gdb-mi.el: Fix interactive invocation of 'gud-go'.
Bug#64590. Copyright-paperwork-exempt: yes
-rw-r--r--lisp/progmodes/gdb-mi.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 4ad73823b64..d4e17554d94 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -988,7 +988,7 @@ detailed description of this mode.
"\C-u" "Continue to current line or address.")
(gud-def
gud-go (progn
- (when arg
+ (when (and current-prefix-arg arg)
(gud-call (concat "-exec-arguments "
(read-string "Arguments to exec-run: "))))
(gud-call