aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/python.texi
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2016-05-04 16:46:50 -0700
committerKevin Buettner <kevinb@redhat.com>2017-09-21 11:49:46 -0700
commitda2c323bff3405add97c37333668de3aad36ec70 (patch)
tree2108c27e755b405fb362be155b6e520d75f3eda9 /gdb/doc/python.texi
parentfbbe5337a6d839309c0415765803a19f3e38f6e4 (diff)
downloadgdb-da2c323bff3405add97c37333668de3aad36ec70.zip
gdb-da2c323bff3405add97c37333668de3aad36ec70.tar.gz
gdb-da2c323bff3405add97c37333668de3aad36ec70.tar.bz2
Documentation for Inferior.thread_from_thread_handle
gdb/doc/ChangeLog: * python.texi (Inferiors In Python): Add description for method Inferior.thread_from_thread_handle.
Diffstat (limited to 'gdb/doc/python.texi')
-rw-r--r--gdb/doc/python.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 39def2a..f661e48 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -2785,6 +2785,13 @@ containing the address where the pattern was found, or @code{None} if
the pattern could not be found.
@end defun
+@findex Inferior.thread_from_thread_handle
+@defun Inferior.thread_from_thread_handle (thread_handle)
+Return the thread object corresponding to @var{thread_handle}, a thread
+library specific data structure such as @code{pthread_t} for pthreads
+library implementations.
+@end defun
+
@node Events In Python
@subsubsection Events In Python
@cindex inferior events in Python