mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
Add a note for how to get the list of threads
It's not immediately obvious how to get the list of threads, so add a note about that in the "Threads in Python" section. gdb/doc/ChangeLog: 2019-10-23 Christian Biesinger <cbiesinger@google.com> * python.texi (Threads In Python): Add a note for how to get the list of threads. Change-Id: I0fef8a7aff161fc347c09052319048c907a6e8c3
This commit is contained in:
parent
c12d372d26
commit
14796d2978
@ -1,3 +1,8 @@
|
||||
2019-10-23 Christian Biesinger <cbiesinger@google.com>
|
||||
|
||||
* python.texi (Threads In Python): Add a note for how to get the
|
||||
list of threads.
|
||||
|
||||
2019-10-07 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* gdb.texinfo: Fix typo.
|
||||
|
@ -3293,6 +3293,9 @@ This function returns the thread object for the selected thread. If there
|
||||
is no selected thread, this will return @code{None}.
|
||||
@end defun
|
||||
|
||||
To get the list of threads for an inferior, use the @code{Inferior.threads()}
|
||||
method. @xref{Inferiors In Python}
|
||||
|
||||
A @code{gdb.InferiorThread} object has the following attributes:
|
||||
|
||||
@defvar InferiorThread.name
|
||||
|
Loading…
Reference in New Issue
Block a user