(gud-minor-mode): New var.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 12 Nov 2000 18:48:22 +0000 (18:48 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 12 Nov 2000 18:48:22 +0000 (18:48 +0000)
commitc157af51b5592ea64950b3cff73e32aa073a03cf
tree4d1ff1b05ca6f281732534d3df066dd39dec2665
parent165958d2b4194b75afd0d57b8095cdc036e7ee7b
(gud-minor-mode): New var.
(gud-symbol, gud-val): New functions.
(gud-find-file): Copy gud-minor-mode to the new buffer.
(gud-menu-map): Include entries for commands that are not always
available, using :enable to (de)activate them.
(gud-minor-mode-map): New map.  Add it to minor-mode-map-alist.
(gud-mode-map): New map.
(gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
(gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
Don't set up gud's menu (it's done by the minor-mode).
(gud-minibuffer-local-map): New.
Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
(gud-query-cmdline): New function.
(gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it.  Set gud-minor-mode.
(gud-mode): Use define-derived-mode.
Don't set up gud's menu (it's done by the minor-mode).
(gud-chop-words): Remove.
(gud-common-init): Use split-string instead.
(gud-new-keymap, gud-make-debug-menu): Eradicate.
lisp/gud.el