# HG changeset patch # User Nick Roberts # Date 1133514956 0 # Node ID 299942030b0e841c0d5fc4cca0986b06fc167355 # Parent b08f33ef5fa110e075e88e3b13be75c1d7f0253e (gud-menu-map): Put gud-finish back on the tool bar (removed inadvertantly). diff -r b08f33ef5fa1 -r 299942030b0e lisp/progmodes/gud.el --- a/lisp/progmodes/gud.el Fri Dec 02 09:14:18 2005 +0000 +++ b/lisp/progmodes/gud.el Fri Dec 02 09:15:56 2005 +0000 @@ -189,6 +189,9 @@ :enable (not gud-running)) ([watch] menu-item "Watch Expression" gud-watch :enable (and (not gud-running) + (memq gud-minor-mode '(gdbmi gdba)))) + ([finish] menu-item "Finish Function" gud-finish + :enable (and (not gud-running) (memq gud-minor-mode '(gdbmi gdba gdb xdb jdb pdb bashdb)))) ([stepi] menu-item "Step Instruction" gud-stepi