aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/gud.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 81ae4c3cd02..f6ef6f1e810 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -189,6 +189,9 @@ Used to grey out relevant togolbar icons.")
189 :enable (not gud-running)) 189 :enable (not gud-running))
190 ([watch] menu-item "Watch Expression" gud-watch 190 ([watch] menu-item "Watch Expression" gud-watch
191 :enable (and (not gud-running) 191 :enable (and (not gud-running)
192 (memq gud-minor-mode '(gdbmi gdba))))
193 ([finish] menu-item "Finish Function" gud-finish
194 :enable (and (not gud-running)
192 (memq gud-minor-mode 195 (memq gud-minor-mode
193 '(gdbmi gdba gdb xdb jdb pdb bashdb)))) 196 '(gdbmi gdba gdb xdb jdb pdb bashdb))))
194 ([stepi] menu-item "Step Instruction" gud-stepi 197 ([stepi] menu-item "Step Instruction" gud-stepi