Function: gdb-current-buffer-thread
gdb-current-buffer-thread is a byte-compiled function defined in
gdb-mi.el.gz.
Signature
(gdb-current-buffer-thread)
Documentation
Get thread object of current buffer from gdb-threads-list.
When current buffer is not bound to any thread, return main thread.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(defun gdb-current-buffer-thread ()
"Get thread object of current buffer from `gdb-threads-list'.
When current buffer is not bound to any thread, return main
thread."
(cdr (assoc gdb-thread-number gdb-threads-list)))