aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-nonstop.exp
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-11-17 12:34:19 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-11-17 12:34:19 +0000
commit3d043ef6a32bab5eeaa0a4ea0532a2a7858e518e (patch)
treee577eb4b9c7be5b8ba9fdfc04053e4809955c38d /gdb/testsuite/gdb.mi/mi-nonstop.exp
parent4a92f99bc7076bebcee009e8b2a7fc717df03590 (diff)
downloadgdb-3d043ef6a32bab5eeaa0a4ea0532a2a7858e518e.zip
gdb-3d043ef6a32bab5eeaa0a4ea0532a2a7858e518e.tar.gz
gdb-3d043ef6a32bab5eeaa0a4ea0532a2a7858e518e.tar.bz2
Include group-id in thread-created notification.
* mi/mi-interp.c (mi_new_thread, mi_thread_exit): Include group id in the output.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-nonstop.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-nonstop.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-nonstop.exp b/gdb/testsuite/gdb.mi/mi-nonstop.exp
index 0e6e130..4bf0d44 100644
--- a/gdb/testsuite/gdb.mi/mi-nonstop.exp
+++ b/gdb/testsuite/gdb.mi/mi-nonstop.exp
@@ -172,7 +172,7 @@ mi_gdb_test "-thread-select 2" "\\^done.*" "select first worker thread"
# Since thread 2 is running, we need to set variable via another thread.
mi_gdb_test "-gdb-set --thread 3 variable exit_first_thread=1" ".*\\^done" "ask the second thread to exit"
gdb_expect {
- -re ".*=thread-exited,id=\"2\"\r\n$" {
+ -re ".*=thread-exited,id=\"2\",group-id=\"\[0-9\]+\"\r\n$" {
pass "wait for thread exit"
}
timeout {