diff options
Diffstat (limited to 'gdb/doc/python.texi')
-rw-r--r-- | gdb/doc/python.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index efef4de..9cb97a9 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3835,6 +3835,15 @@ This has a single attribute: The new thread. @end defvar +@item events.thread_exited +This is emitted when @value{GDBN} notices a thread has exited. The event +is of type @code{gdb.ThreadExitedEvent} which extends @code{gdb.ThreadEvent}. +This has a single attribute: + +@defvar ThreadExitedEvent.inferior_thread +The exiting thread. +@end defvar + @item events.gdb_exiting This is emitted when @value{GDBN} exits. This event is not emitted if @value{GDBN} exits as a result of an internal error, or after an @@ -3899,6 +3908,7 @@ make Python breakpoints thread-specific, for example (@pxref{python_breakpoint_thread,,The Breakpoint.thread attribute}). @end defvar +@anchor{inferior_thread_ptid} @defvar InferiorThread.ptid ID of the thread, as assigned by the operating system. This attribute is a tuple containing three integers. The first is the Process ID (PID); the second |