# HG changeset patch # User Nick Roberts # Date 1038060619 0 # Node ID 2941d71711f31d304c248a56cc7ceedea944425b # Parent 6b42d956b7a5a0af24b481d3176db7a1ac3c6ca9 (tooltip-gud-print-command): Add server prefix to the print command for gdb to keep it out of the command history. diff -r 6b42d956b7a5 -r 2941d71711f3 lisp/tooltip.el --- a/lisp/tooltip.el Sat Nov 23 14:09:26 2002 +0000 +++ b/lisp/tooltip.el Sat Nov 23 14:10:19 2002 +0000 @@ -482,7 +482,8 @@ (when tooltip-gud-dereference (setq expr (concat "*" expr))) (case tooltip-gud-debugger - ((gdb dbx) (concat "print " expr)) + (gdb (concat "server print " expr)) + (dbx (concat "print " expr)) (xdb (concat "p " expr)) (sdb (concat expr "/")) (perldb expr)))