Function: gdb-gud-context-call

gdb-gud-context-call is a macro defined in gdb-mi.el.gz.

Signature

(gdb-gud-context-call CMD1 &optional CMD2 NOALL NOARG)

Documentation

gud-call wrapper which adds --thread/--all options between CMD1 and CMD2. NOALL is the same as in gdb-gud-context-command.

NOARG must be t when this macro is used outside gud-def.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defmacro gdb-gud-context-call (cmd1 &optional cmd2 noall noarg)
  "`gud-call' wrapper which adds --thread/--all options between
CMD1 and CMD2.  NOALL is the same as in `gdb-gud-context-command'.

NOARG must be t when this macro is used outside `gud-def'."
  `(gud-call
    (concat (gdb-gud-context-command ,cmd1 ,noall) " " ,cmd2)
    ,(when (not noarg) 'arg)))