From: Vladimir Prus Date: Wed, 11 Jun 2008 13:35:58 +0000 (+0000) Subject: * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83408de7337aa2b48c17d698421a5ba9361673f1;hp=060871df59462ec4085f79033c0fbcf275cda83f;p=binutils-gdb.git * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 13c5d31e8a1..2a7835714e5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp index 2798569d463..b3fc551c7e0 100644 --- a/gdb/testsuite/gdb.mi/mi-break.exp +++ b/gdb/testsuite/gdb.mi/mi-break.exp @@ -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 {} {