From: Wang Diancheng Date: Fri, 14 Jul 2023 03:06:32 +0000 (+0800) Subject: * lisp/progmodes/gdb-mi.el: Fix interactive invocation of 'gud-go'. X-Git-Tag: emacs-29.1-rc1~32 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=afdf54a5313ec898b6045e48eb6dce7d4abfa565;p=emacs.git * lisp/progmodes/gdb-mi.el: Fix interactive invocation of 'gud-go'. Bug#64590. Copyright-paperwork-exempt: yes --- 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