From: Kevin Buettner Date: Wed, 4 May 2016 23:46:50 +0000 (-0700) Subject: Documentation for Inferior.thread_from_thread_handle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da2c323bff3405add97c37333668de3aad36ec70;p=binutils-gdb.git Documentation for Inferior.thread_from_thread_handle gdb/doc/ChangeLog: * python.texi (Inferiors In Python): Add description for method Inferior.thread_from_thread_handle. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 971f0c1596d..0bd6ff238b1 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2017-09-21 Kevin Buettner + + * python.texi (Inferiors In Python): Add description for method + Inferior.thread_from_thread_handle. + 2017-09-19 John Baldwin * gdb.texinfo (Starting your Program): Add description of diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 39def2aa6f2..f661e489bb9 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