diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-28 11:31:02 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-28 11:31:02 +0000 |
commit | 7ebd49dca39b450a151ed20cb34ccddb0f35da01 (patch) | |
tree | 138fb24e266062c8d2b873dcbecdb7c274d4a71a /gdb | |
parent | 84e46146f7e8f26eafd2e9a6f0bc229423e0950c (diff) | |
download | gdb-7ebd49dca39b450a151ed20cb34ccddb0f35da01.zip gdb-7ebd49dca39b450a151ed20cb34ccddb0f35da01.tar.gz gdb-7ebd49dca39b450a151ed20cb34ccddb0f35da01.tar.bz2 |
* lib/mi-support.exp (mi_send_resuming_command_raw): Revert
previous commit. Add a comment.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 32256e7..a52fe67 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-06-28 Vladimir Prus <vladimir@codesourcery.com> + + * lib/mi-support.exp (mi_send_resuming_command_raw): Revert + previous commit. Add a comment. + 2008-06-28 Pedro Alves <pedro@codesourcery.com> * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index bad7c62..e4d9580 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -1398,7 +1398,15 @@ proc mi_send_resuming_command_raw {command test} { send_gdb "$command\n" gdb_expect { -re "\\^running\r\n\\*running,thread-id=\"\[^\"\]+\"\r\n${mi_gdb_prompt}" { - pass "$test" + # Note that lack of 'pass' call here -- this works around limitation + # in DejaGNU xfail mechanism. mi-until.exp has this: + # + # setup_kfail gdb/2104 "*-*-*" + # mi_execute_to ... + # + # and mi_execute_to uses mi_send_resuming_command. If we use 'pass' here, + # it will reset kfail, so when the actual test fails, it will be flagged + # as real failure. } -re ".*${mi_gdb_prompt}" { fail "$test (failed to resume)" |