mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
(thread_switch): Test for thread-changed annotation.
This commit is contained in:
@ -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_test
|
||||||
|
thread_switch
|
||||||
|
|
||||||
# restore the original prompt for the rest of the testsuite
|
# restore the original prompt for the rest of the testsuite
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user