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