Documentation for python method InferiorThread.handle

gdb/doc/ChangeLog:

	* python.texi (Threads In Python): Add description for method
	InferiorThread.handle.
This commit is contained in:
Kevin Buettner
2018-09-15 21:53:38 -07:00
parent 947210e569
commit c369f8f0fa
2 changed files with 13 additions and 0 deletions

View 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