# HG changeset patch # User Richard M. Stallman # Date 748284218 0 # Node ID 22e673b984fcaee75e32a38dad9616c7b2258b21 # Parent a8c0357a855432f8e7e1983992a2f941902e453f Fix previous change. diff -r a8c0357a8554 -r 22e673b984fc lisp/gud.el --- a/lisp/gud.el Thu Sep 16 22:58:36 1993 +0000 +++ b/lisp/gud.el Fri Sep 17 16:43:38 1993 +0000 @@ -497,7 +497,7 @@ (defvar gud-perldb-history nil) (defun gud-perldb-massage-args (file args) - (cons "-fullname" (cons file args))) + (cons "-d" (cons file (cons "-emacs" args)))) ;; There's no guarantee that Emacs will hand the filter the entire ;; marker at once; it could be broken up across several strings. We @@ -564,7 +564,7 @@ (list (read-from-minibuffer "Run perldb (like this): " (if (consp gud-perldb-history) (car gud-perldb-history) - "perldb ") + "perl ") nil nil '(gud-perldb-history . 1)))) (gud-overload-functions '((gud-massage-args . gud-perldb-massage-args) @@ -574,20 +574,18 @@ (gud-common-init command-line) - (gud-def gud-break "break %f:%l" "\C-b" "Set breakpoint at current line.") - (gud-def gud-tbreak "tbreak %f:%l" "\C-t" "Set breakpoint at current line.") - (gud-def gud-remove "clear %l" "\C-d" "Remove breakpoint at current line") - (gud-def gud-step "step %p" "\C-s" "Step one source line with display.") - (gud-def gud-stepi "stepi %p" "\C-i" "Step one instruction with display.") - (gud-def gud-next "next %p" "\C-n" "Step one line (skip functions).") - (gud-def gud-cont "cont" "\C-r" "Continue with display.") - (gud-def gud-finish "finish" "\C-f" "Finish executing current function.") - (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 "print %e" "\C-p" "Evaluate C expression at point.") + (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-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.") +; (gud-def gud-finish "finish" "\C-f" "Finish executing current function.") +; (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 "%e" "\C-p" "Evaluate perl expression at point.") - (setq comint-prompt-regexp "^(.*perldb[+]?) *") - (run-hooks 'gdb-mode-hook) + (setq comint-prompt-regexp "^ DB<[0-9]+> ") + (run-hooks 'perldb-mode-hook) ) ;;