[v3,3/7] Documentation for Inferior.thread_from_thread_handle
Commit Message
gdb/doc/ChangeLog:
* python.texi (Inferiors In Python): Add description for method
Inferior.thread_from_thread_handle.
---
gdb/doc/python.texi | 7 +++++++
1 file changed, 7 insertions(+)
Comments
> Date: Tue, 18 Jul 2017 17:55:03 -0700
> From: Kevin Buettner <kevinb@redhat.com>
>
> gdb/doc/ChangeLog:
>
> * python.texi (Inferiors In Python): Add description for method
> Inferior.thread_from_thread_handle.
> ---
> gdb/doc/python.texi | 7 +++++++
> 1 file changed, 7 insertions(+)
OK, thanks.
@@ -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