gdb-current-buffer-thread

gdb-current-buffer-thread is a compiled Lisp function in `gdb-mi.el'.

(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.