This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Documentation for Inferior.thread_from_thread_handle


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=da2c323bff3405add97c37333668de3aad36ec70

commit da2c323bff3405add97c37333668de3aad36ec70
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Wed May 4 16:46:50 2016 -0700

    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:
---
 gdb/doc/ChangeLog   | 5 +++++
 gdb/doc/python.texi | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 971f0c1..0bd6ff2 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-21  Kevin Buettner  <kevinb@redhat.com>
+
+	* python.texi (Inferiors In Python): Add description for method
+	Inferior.thread_from_thread_handle.
+
 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
 
 	* gdb.texinfo (Starting your Program): Add description of
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]