diff options
author | Daniel Jacobowitz <dan@debian.org> | 2008-09-13 17:54:05 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2008-09-13 17:54:05 +0000 |
commit | cabed666d7e9c0aaefc1d9bc96083bab8d34fec5 (patch) | |
tree | cff0ddfe75ec690e636de10c7dca5d79ca4babad /gdb/testsuite/gdb.mi | |
parent | e5fe21e42c936fd9d03c2720b60015ee4c52510b (diff) | |
download | gdb-cabed666d7e9c0aaefc1d9bc96083bab8d34fec5.tar.gz |
* 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.exp | 4 |
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 4aa3a5a8a12..0bcfe41d325 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. |