summaryrefslogtreecommitdiff
path: root/gdb/doc/annotate.texinfo
diff options
context:
space:
mode:
authorAmos Bird <amosbird@gmail.com>2019-06-07 01:10:14 +0800
committerTom Tromey <tromey@adacore.com>2019-06-06 11:35:15 -0600
commit1a3da2cd6175e8f25cec95fc685d4f0f43bf6807 (patch)
tree1509d1aead61942dd99e013c10d8938f173e9317 /gdb/doc/annotate.texinfo
parentdd455cf51d2b273edf6173fcb25fc1e3c5b966b2 (diff)
downloadbinutils-gdb-1a3da2cd6175e8f25cec95fc685d4f0f43bf6807.tar.gz
Add thread-exit annotation.
gdb/ChangeLog 2019-04-26 Amos Bird <amosbird@gmail.com> * annotate.c (annotate_thread_exited): Add "thread-exited" annotation. gdb/doc/ChangeLog 2019-06-06 Amos Bird <amosbird@gmail.com> * annotate.texinfo (Multi-threaded Apps): Add entry for thread-exited annotation. gdb/testsuite/ChangeLog 2019-06-06 Amos Bird <amosbird@gmail.com> * gdb.base/annota1.exp (thread_switch): Add test for thread-exited annotation.
Diffstat (limited to 'gdb/doc/annotate.texinfo')
-rw-r--r--gdb/doc/annotate.texinfo7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/doc/annotate.texinfo b/gdb/doc/annotate.texinfo
index b85b759f9ae..ee8147f52fd 100644
--- a/gdb/doc/annotate.texinfo
+++ b/gdb/doc/annotate.texinfo
@@ -836,6 +836,13 @@ The selected thread has changed. This may occur at the request of the
user with the @code{thread} command, or as a result of execution,
e.g., another thread hits a breakpoint.
+@findex thread-exited@r{, annotation}
+@item ^Z^Zthread-exited,id="@var{id}",group-id="@var{gid}"
+
+This annotation is issued once for each thread that exits. The @var{id}
+field contains the global @value{GDBN} identifier of the thread. The
+@var{gid} field identifies the thread group this thread belongs to.
+
@end table
@node GNU Free Documentation License