Fix GUD "Stop" display when running pdb

* lisp/progmodes/gud.el (gud-menu-map): Don't call gdb-show-stop-p
when GUD mode is 'pdb'.  (Bug#27024)
This commit is contained in:
Eli Zaretskii 2017-05-27 15:15:18 +03:00
parent c0f2c29877
commit 4b17214aab

View file

@ -157,7 +157,8 @@ Used to gray out relevant toolbar icons.")
(gdb-show-run-p)))
([stop] menu-item "Stop" gud-stop-subjob
:visible (or (not (memq gud-minor-mode '(gdbmi pdb)))
(gdb-show-stop-p)))
(and (eq gud-minor-mode 'gdbmi)
(gdb-show-stop-p))))
([until] menu-item "Continue to selection" gud-until
:enable (not gud-running)
:visible (and (memq gud-minor-mode '(gdbmi gdb perldb))