Mercurial > emacs
changeset 52586:a0055e15e603
(perldb): Add gud-until to list of commands.
Update gud-remove.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Mon, 22 Sep 2003 22:02:51 +0000 |
parents | caedc2d7c42c |
children | ce540063ee19 |
files | lisp/progmodes/gud.el |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gud.el Mon Sep 22 22:00:57 2003 +0000 +++ b/lisp/progmodes/gud.el Mon Sep 22 22:02:51 2003 +0000 @@ -96,9 +96,9 @@ ([run] menu-item "Run" gud-run :enable (and (not gud-running) (memq gud-minor-mode '(gdba gdb dbx jdb)))) - ([goto] menu-item "Continue to selection" gud-until + ([until] menu-item "Continue to selection" gud-until :enable (and (not gud-running) - (memq gud-minor-mode '(gdba gdb)))) + (memq gud-minor-mode '(gdba gdb perldb)))) ([remove] menu-item "Remove Breakpoint" gud-remove :enable (not gud-running)) ([tbreak] menu-item "Temporary Breakpoint" gud-tbreak @@ -1254,7 +1254,7 @@ (set (make-local-variable 'gud-minor-mode) 'perldb) (gud-def gud-break "b %l" "\C-b" "Set breakpoint at current line.") - (gud-def gud-remove "d %l" "\C-d" "Remove breakpoint at current line") + (gud-def gud-remove "B %l" "\C-d" "Remove breakpoint at current line") (gud-def gud-step "s" "\C-s" "Step one source line with display.") (gud-def gud-next "n" "\C-n" "Step one line (skip functions).") (gud-def gud-cont "c" "\C-r" "Continue with display.") @@ -1262,6 +1262,8 @@ ; (gud-def gud-up "up %p" "<" "Up N stack frames (numeric arg).") ; (gud-def gud-down "down %p" ">" "Down N stack frames (numeric arg).") (gud-def gud-print "p %e" "\C-p" "Evaluate perl expression at point.") + (gud-def gud-until "c %l" "\C-u" "Continue to current line.") + (setq comint-prompt-regexp "^ DB<+[0-9]+>+ ") (setq paragraph-start comint-prompt-regexp)