diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-11 13:35:58 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-11 13:35:58 +0000 |
commit | 83408de7337aa2b48c17d698421a5ba9361673f1 (patch) | |
tree | 4c79dd6b3498ad397c893d98a4abb01bd290eb20 /gdb/testsuite | |
parent | 060871df59462ec4085f79033c0fbcf275cda83f (diff) | |
download | gdb-83408de7337aa2b48c17d698421a5ba9361673f1.zip gdb-83408de7337aa2b48c17d698421a5ba9361673f1.tar.gz gdb-83408de7337aa2b48c17d698421a5ba9361673f1.tar.bz2 |
* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-break.exp | 13 |
2 files changed, 6 insertions, 11 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 13c5d31..2a78357 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2008-06-10 Vladimir Prus <vladimir@codesourcery.com> + * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop. + +2008-06-10 Vladimir Prus <vladimir@codesourcery.com> + * gdb.mi/mi-console.exp: Adjust. * gdb.mi/mi-syn-frame.exp: Adjust. * gdb.mi/mi2-console.exp: Adjust. diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp index 2798569..b3fc551 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 {} { |