def-gdb-thread-buffer-command

def-gdb-thread-buffer-command is a Lisp macro in `gdb-mi.el'.

(def-gdb-thread-buffer-command NAME CUSTOM-DEFUN &optional DOC)

Define a NAME command which will act upon thread on the current line.

CUSTOM-DEFUN may use locally bound `thread' variable, which will
be the value of 'gdb-thread property of the current line.
If `gdb-thread' is nil, error is signaled.