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:
parent
c0f2c29877
commit
4b17214aab
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue