Index: gdb/testsuite/ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v retrieving revision 1.1661 diff -u -p -r1.1661 ChangeLog --- gdb/testsuite/ChangeLog 10 Jun 2008 10:23:54 -0000 1.1661 +++ gdb/testsuite/ChangeLog 11 Jun 2008 13:34:48 -0000 @@ -1,5 +1,9 @@ 2008-06-10 Vladimir Prus + * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop. + +2008-06-10 Vladimir Prus + * gdb.mi/mi-console.exp: Adjust. * gdb.mi/mi-syn-frame.exp: Adjust. * gdb.mi/mi2-console.exp: Adjust. Index: gdb/testsuite/gdb.mi/mi-break.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/mi-break.exp,v retrieving revision 1.18 diff -u -p -r1.18 mi-break.exp --- gdb/testsuite/gdb.mi/mi-break.exp 10 Jun 2008 09:35:08 -0000 1.18 +++ gdb/testsuite/gdb.mi/mi-break.exp 11 Jun 2008 13:34:48 -0000 @@ -158,17 +158,8 @@ proc test_ignore_count {} { mi_run_cmd - gdb_expect { - -re ".*\\*stopped.*func=\"callme\".*args=\\\[\{name=\"i\",value=\"2\"\}\\\].*\r\n($mi_gdb_prompt)?$" { - pass "run to breakpoint with ignore count" - } - -re ".*$mi_gdb_prompt$" { - fail "run to breakpoint with ignore count" - } - timeout { - fail "run to breakpoint with ignore count (timeout)" - } - } + mi_expect_stop "breakpoint-hit" "callme" "\{name=\"i\",value=\"2\"\}" ".*basics.c" "51" \ + {"" "disp=\"keep\"" } "run to breakpoint with ignore count" } proc test_error {} {