Function: gud-tooltip-print-command

gud-tooltip-print-command is a byte-compiled function defined in gud.el.gz.

Signature

(gud-tooltip-print-command EXPR)

Documentation

Return a suitable command to print the expression EXPR.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gud.el.gz
(defun gud-tooltip-print-command (expr)
  "Return a suitable command to print the expression EXPR."
  (pcase gud-minor-mode
    ('gdbmi (concat "-data-evaluate-expression \"" expr "\""))
    ('guiler expr)
    ('dbx (concat "print " expr))
    ((or 'xdb 'pdb) (concat "p " expr))
    ('sdb (concat expr "/"))))