]> git.eshelyaron.com Git - emacs.git/commitdiff
(gud-install-speedbar-variables): Bind gud-pp to "p".
authorNick Roberts <nickrob@snap.net.nz>
Fri, 18 Nov 2005 02:48:58 +0000 (02:48 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Fri, 18 Nov 2005 02:48:58 +0000 (02:48 +0000)
(gdb): Move definition of gud-pp to gdb-ui.el.

lisp/progmodes/gud.el

index 31223ddc7a95745f88cc48f53134ef2366953121..e045ae76a29091f08df49672f0dd2bda91b992c6 100644 (file)
@@ -389,7 +389,8 @@ t means that there is no stack, and we are in display-file mode.")
     (define-key gud-speedbar-key-map " " 'speedbar-toggle-line-expansion)
     (define-key gud-speedbar-key-map "[" 'speedbar-expand-line-descendants)
     (define-key gud-speedbar-key-map "]" 'speedbar-contract-line-descendants)
-    (define-key gud-speedbar-key-map "D" 'gdb-var-delete))
+    (define-key gud-speedbar-key-map "D" 'gdb-var-delete)
+    (define-key gud-speedbar-key-map "p" 'gud-pp))
 
   (speedbar-add-expansion-list '("GUD" gud-speedbar-menu-items
                                 gud-speedbar-key-map
@@ -654,7 +655,6 @@ and source-file directory for your debugger."
           "Evaluate C dereferenced pointer expression at point.")
 
   ;; For debugging Emacs only.
-  (gud-def gud-pp  "pp1 %e"     nil   "Print the emacs s-expression.")
   (gud-def gud-pv "pv1 %e"      "\C-v" "Print the value of the lisp variable.")
 
   (gud-def gud-until  "until %l" "\C-u" "Continue to current line.")