aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
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
parentdd455cf51d2b273edf6173fcb25fc1e3c5b966b2 (diff)
downloadgdb-1a3da2cd6175e8f25cec95fc685d4f0f43bf6807.zip
gdb-1a3da2cd6175e8f25cec95fc685d4f0f43bf6807.tar.gz
gdb-1a3da2cd6175e8f25cec95fc685d4f0f43bf6807.tar.bz2
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')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/annotate.texinfo7
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 5da2599..51a8516 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-06 Amos Bird <amosbird@gmail.com>
+
+ * annotate.texinfo (Multi-threaded Apps): Add entry for thread-exited
+ annotation.
+
2019-06-04 Christian Biesinger <cbiesinger@google.com>
* python.texi: Document new gdb.Type.objfile property.
diff --git a/gdb/doc/annotate.texinfo b/gdb/doc/annotate.texinfo
index b85b759..ee8147f 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