Commit 9e06a930 authored by Nick Roberts's avatar Nick Roberts
Browse files

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

print command for gdb to keep it out of the command history.
parent a922c25a
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment