Function: gdb-select-thread

gdb-select-thread is an interactive and byte-compiled function defined in gdb-mi.el.gz.

Signature

(gdb-select-thread &optional EVENT)

Documentation

Select the thread at current line of threads buffer.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
(def-gdb-thread-buffer-command gdb-select-thread
  (let ((new-id (gdb-mi--field thread 'id)))
    (gdb-setq-thread-number new-id)
    (gdb-input (concat "-thread-select " new-id) 'ignore)
    (gdb-update))
  "Select the thread at current line of threads buffer.")