# HG changeset patch # User Nick Roberts # Date 1177750640 0 # Node ID f6ca990ca9cf41017b6b8056b4614cd63d777ef2 # Parent f28b0bff92bfc687b56ef4bd98318ed815661911 (gud-menu-map): Pdb can't handle SIGINT so don't put stop button on toolbar. diff -r f28b0bff92bf -r f6ca990ca9cf lisp/progmodes/gud.el --- a/lisp/progmodes/gud.el Sat Apr 28 08:56:26 2007 +0000 +++ b/lisp/progmodes/gud.el Sat Apr 28 08:57:20 2007 +0000 @@ -152,7 +152,7 @@ :visible (and (not gud-running) (eq gud-minor-mode 'gdba))) ([stop] menu-item "Stop" gud-stop-subjob - :visible (or (not (eq gud-minor-mode 'gdba)) + :visible (or (not (memq gud-minor-mode '(gdba pdb))) (and gud-running (eq gud-minor-mode 'gdba)))) ([until] menu-item "Continue to selection" gud-until