* lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.

This commit is contained in:
Vladimir Prus 2008-06-28 10:14:34 +00:00
parent 53c2f6a972
commit 0f8d4a2f6e
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
2008-06-27 Pedro Alves <pedro@codesourcery.com> 2008-06-27 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global. * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.

View File

@ -1398,6 +1398,7 @@ proc mi_send_resuming_command_raw {command test} {
send_gdb "$command\n" send_gdb "$command\n"
gdb_expect { gdb_expect {
-re "\\^running\r\n\\*running,thread-id=\"\[^\"\]+\"\r\n${mi_gdb_prompt}" { -re "\\^running\r\n\\*running,thread-id=\"\[^\"\]+\"\r\n${mi_gdb_prompt}" {
pass "$test"
} }
-re ".*${mi_gdb_prompt}" { -re ".*${mi_gdb_prompt}" {
fail "$test (failed to resume)" fail "$test (failed to resume)"