From 1ff980ae49715eb372acff8a193e36497a7665c4 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 5 Feb 2012 09:06:37 +0100 Subject: [PATCH] * progmodes/gud.el (gud-pv): Use pv instead of pv1. * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/gdb-mi.el | 6 +++--- lisp/progmodes/gud.el | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d44e9d95636..fdf25af86ee 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-02-05 Andreas Schwab + + * progmodes/gud.el (gud-pv): Use pv instead of pv1. + * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1. + 2012-02-05 Chong Yidong * custom.el (defcustom): Doc fix. diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 1f134755e7c..301714ec55f 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -779,9 +779,9 @@ detailed description of this mode. (gud-def gud-pp (gud-call (concat - "pp1 " (if (eq (buffer-local-value - 'major-mode (window-buffer)) 'speedbar-mode) - (gdb-find-watch-expression) "%e")) arg) + "pp " (if (eq (buffer-local-value + 'major-mode (window-buffer)) 'speedbar-mode) + (gdb-find-watch-expression) "%e")) arg) nil "Print the Emacs s-expression.") (define-key gud-minor-mode-map [left-margin mouse-1] diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index f024fbd5dfc..121a023cd54 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -749,7 +749,7 @@ directory and source-file directory for your debugger." "Evaluate C dereferenced pointer expression at point.") ;; For debugging Emacs only. - (gud-def gud-pv "pv1 %e" "\C-v" "Print the value of the lisp variable.") + (gud-def gud-pv "pv %e" "\C-v" "Print the value of the lisp variable.") (gud-def gud-until "until %l" "\C-u" "Continue to current line.") (gud-def gud-run "run" nil "Run the program.") -- 2.39.2