Function: def-gdb-thread-buffer-simple-command

def-gdb-thread-buffer-simple-command is a macro defined in gdb-mi.el.gz.

Signature

(def-gdb-thread-buffer-simple-command NAME BUFFER-COMMAND &optional DOC)

Documentation

Define a NAME which will call BUFFER-COMMAND with id of thread on the current line.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defmacro def-gdb-thread-buffer-simple-command (name buffer-command
                                                     &optional doc)
  "Define a NAME which will call BUFFER-COMMAND with id of thread
on the current line."
  (declare (indent defun))
  `(def-gdb-thread-buffer-command ,name
     (,buffer-command (gdb-mi--field thread 'id))
     ,doc))