aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-09-13 17:54:06 +0000
committerDaniel Jacobowitz <drow@false.org>2008-09-13 17:54:06 +0000
commitd0b76dc6dfba19f3f3f98386cef2be82f5ef701b (patch)
tree6ff466c248fcb48c824e4499338b38aca7a82b3f /gdb/testsuite/gdb.mi
parentbb01da776d7ff0386261285613f950cbc1e28215 (diff)
downloadgdb-d0b76dc6dfba19f3f3f98386cef2be82f5ef701b.zip
gdb-d0b76dc6dfba19f3f3f98386cef2be82f5ef701b.tar.gz
gdb-d0b76dc6dfba19f3f3f98386cef2be82f5ef701b.tar.bz2
* gdb.mi/mi-nonstop.exp: Do not check thread state while a
stop is pending. Avoid ".*" when two stops are pending. * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC) (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match newlines in fullnames. * lib/mi-support.exp (mi_run_cmd): Do not require an anchor. (mi_expect_stop): Update comments. Only anchor in sync mode. Do not match newlines. (mi_send_resuming_command_raw): Always return status. (mi_get_stop_line): Do not match more than one line by accident. Only anchor in sync mode. (mi_run_inline_test): If -exec-next fails, give up.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r--gdb/testsuite/gdb.mi/mi-nonstop.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-nonstop.exp b/gdb/testsuite/gdb.mi/mi-nonstop.exp
index 4aa3a5a..0bcfe41 100644
--- a/gdb/testsuite/gdb.mi/mi-nonstop.exp
+++ b/gdb/testsuite/gdb.mi/mi-nonstop.exp
@@ -155,9 +155,7 @@ gdb_expect {
}
}
-check_thread_states {"running" "running" "running"} "thread state, resume all"
-
-mi_expect_stop "breakpoint-hit" "break_at_me" ".*" "non-stop.c" ".*" {"" "disp=\"keep\""} "w0,i2 stop"
+mi_expect_stop "breakpoint-hit" "break_at_me" "\[^\n\]*" "non-stop.c" "\[0-9\]*" {"" "disp=\"keep\""} "w0,i2 stop"
mi_expect_stop "breakpoint-hit" "break_at_me" ".*" "non-stop.c" ".*" {"" "disp=\"keep\""} "w1,i2 stop"
# At this point, thread 1 (main) is running, and worker threads are stopped.