Function: gdb-current-context-command
gdb-current-context-command is a byte-compiled function defined in
gdb-mi.el.gz.
Signature
(gdb-current-context-command COMMAND)
Documentation
Add --thread to gdb COMMAND when needed.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
;; NOFRAME is used for gud execution control commands
(defun gdb-current-context-command (command)
"Add --thread to gdb COMMAND when needed."
(if (and gdb-thread-number
gdb-supports-non-stop)
(concat command " --thread " gdb-thread-number)
command))