aboutsummaryrefslogtreecommitdiff
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/testsuite/gdb.cp/annota2.exp
parentgas: Add .enqcmd and noenqcmd directives (diff)
downloadbinutils-gdb-1a3da2cd6175e8f25cec95fc685d4f0f43bf6807.tar.gz
binutils-gdb-1a3da2cd6175e8f25cec95fc685d4f0f43bf6807.tar.bz2
binutils-gdb-1a3da2cd6175e8f25cec95fc685d4f0f43bf6807.zip
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/testsuite/gdb.cp/annota2.exp')
-rw-r--r--gdb/testsuite/gdb.cp/annota2.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/annota2.exp b/gdb/testsuite/gdb.cp/annota2.exp
index 982020a11e8..745f4617160 100644
--- a/gdb/testsuite/gdb.cp/annota2.exp
+++ b/gdb/testsuite/gdb.cp/annota2.exp
@@ -138,6 +138,8 @@ set pat [multi_line "" \
"\032\032exited 0" \
"$inferior_exited_re normally." \
"" \
+ "\032\032thread-exited,id=\"1\",group-id=\"i1\"" \
+ "" \
"\032\032stopped" \
$gdb_prompt$]
gdb_test_multiple "continue" "continue until exit" {