Documentation for python method InferiorThread.handle
authorKevin Buettner <kevinb@redhat.com>
Sun, 16 Sep 2018 04:53:38 +0000 (21:53 -0700)
committerKevin Buettner <kevinb@redhat.com>
Tue, 9 Apr 2019 03:18:15 +0000 (20:18 -0700)
gdb/doc/ChangeLog:

* python.texi (Threads In Python): Add description for method
InferiorThread.handle.

gdb/doc/ChangeLog
gdb/doc/python.texi

index 5a0621e2ceb5c46fae170bf602c8c85cfc53752d..a3564abdeb9a8cea82e769dc360879ba709eae62 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * python.texi (Threads In Python): Add description for method
+       InferiorThread.handle.
+
 2019-04-07  Tom Tromey  <tom@tromey.com>
 
        * Makefile.in (all): Depend on "info".
index 67165ac3ba8b9178bef6529302f68b3690db7e2c..6a967ec26c21a395cb87227f55b755113c7cb751 100644 (file)
@@ -3334,6 +3334,14 @@ Return a Boolean indicating whether the thread is running.
 Return a Boolean indicating whether the thread is exited.
 @end defun
 
+@defun InferiorThread.handle ()
+Return the thread object's handle, represented as a Python @code{bytes}
+object.  A @code{gdb.Value} representation of the handle may be
+constructed via @code{gdb.Value(bufobj, type)} where @var{bufobj} is
+the Python @code{bytes} representation of the handle and @var{type} is
+a @code{gdb.Type} for the handle type.
+@end defun
+
 @node Recordings In Python
 @subsubsection Recordings In Python
 @cindex recordings in python
This page took 0.029632 seconds and 4 git commands to generate.