aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2018-09-15 21:53:38 -0700
committerKevin Buettner <kevinb@redhat.com>2019-04-08 20:18:15 -0700
commitc369f8f0face23a06e0cf114bf70a024ba9b4959 (patch)
treedb211839b18058e5d36449f68bdd35ad73bcad8b /gdb
parent947210e5690c61b395ccd887bc58bcb45ccd357b (diff)
downloadgdb-c369f8f0face23a06e0cf114bf70a024ba9b4959.zip
gdb-c369f8f0face23a06e0cf114bf70a024ba9b4959.tar.gz
gdb-c369f8f0face23a06e0cf114bf70a024ba9b4959.tar.bz2
Documentation for python method InferiorThread.handle
gdb/doc/ChangeLog: * python.texi (Threads In Python): Add description for method InferiorThread.handle.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/python.texi8
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 5a0621e..a3564ab 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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".
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 67165ac..6a967ec 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -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