1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

(tooltip-gud-print-command): Add server prefix to the

print command for gdb to keep it out of the command history.
This commit is contained in:
Nick Roberts 2002-11-23 14:10:19 +00:00
parent a922c25a24
commit 9e06a93009

View File

@ -482,7 +482,8 @@ If TOOLTIP-GUD-DEREFERENCE is t, also prepend a `*' to EXPR."
(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)))