]> git.eshelyaron.com Git - emacs.git/commitdiff
(bashdb): Prompt now included parenthesis for subshell
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Dec 2002 21:50:22 +0000 (21:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Dec 2002 21:50:22 +0000 (21:50 +0000)
levels. Fix erroneous print expression command, and fix typos.
(perldb): Undo previous change in prompt regexp.

lisp/ChangeLog
lisp/gud.el

index 5fc4b8d85ca11469d7d39b9d2093230a574e80ad..690ded3bfad7353fb64648f491b002e8bab1dd13 100644 (file)
@@ -1,3 +1,9 @@
+2002-12-10  R. Bernstein  <rocky@panix.com>
+
+       * gud.el (bashdb): Prompt now included parenthesis for subshell
+       levels. Fix erroneous print expression command, and fix typos. 
+       (perldb): Undo previous change in prompt regexp.
+       
 2002-12-10  Steven Tamm  <steventamm@mac.com>
 
        * generic-x.el (javascript-generic-mode): Added C style block
index c24ccb027412d6accf7c399f60b78591cde35b23..e3c2c9f41bf6cf6e631f0eec4e3d7abe93c55270 100644 (file)
@@ -1249,7 +1249,7 @@ and source-file directory for your debugger."
 ;  (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 "^  DB<+(*[0-9])*+>+ ")
+  (setq comint-prompt-regexp "^  DB<+[0-9]+>+ ")
   (setq paragraph-start comint-prompt-regexp)
   (run-hooks 'perldb-mode-hook))
 \f
@@ -2123,12 +2123,12 @@ and source-file directory for your debugger."
   (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  "pe %e"      "\C-p" "Evaluate bash expression at point.")
+  (gud-def gud-print  "x %e"      "\C-p" "Evaluate BASH expression at point.")
 
   ;; Is this right?
-  (gud-def gud-statement "eval %e" "\C-e" "Execute Python statement at point.")
+  (gud-def gud-statement "eval %e" "\C-e" "Execute BASH statement at point.")
 
-  (setq comint-prompt-regexp "^bashdb<+[0-9]*>+ ")
+  (setq comint-prompt-regexp "^bashdb<+(*[0-9]+)*>+ ")
   (setq paragraph-start comint-prompt-regexp)
   (run-hooks 'bashdb-mode-hook)
   )