(thread_switch): Test for thread-changed annotation.

This commit is contained in:
Nick Roberts 2008-06-06 00:40:21 +00:00
parent aeac218185
commit 47741aa56c

View File

@ -527,7 +527,18 @@ proc thread_test {} {
}
}
proc thread_switch {} {
send_gdb "thread 1\n"
gdb_expect {
-re ".*\032\032thread-changed" {
pass "thread switch"
}
timeout { fail "thread switch (timeout)" }
}
}
thread_test
thread_switch
# restore the original prompt for the rest of the testsuite