aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-until.exp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-19 00:37:28 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-19 00:37:28 +0000
commite866d0e84546649adbf3cb3750c1fd0fe1aeccf3 (patch)
tree9eed98d086f42450115e2e73ffaf9c17e6b87fbb /gdb/testsuite/gdb.mi/mi-until.exp
parent992ddc6b098eaaff8526ce04a25532c2301d94b4 (diff)
downloadfsf-binutils-gdb-e866d0e84546649adbf3cb3750c1fd0fe1aeccf3.zip
fsf-binutils-gdb-e866d0e84546649adbf3cb3750c1fd0fe1aeccf3.tar.gz
fsf-binutils-gdb-e866d0e84546649adbf3cb3750c1fd0fe1aeccf3.tar.bz2
* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp, mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an unexpected run-to-main response. Report as a fail.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-until.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-until.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-until.exp b/gdb/testsuite/gdb.mi/mi-until.exp
index 57b92e2..8d74eb1 100644
--- a/gdb/testsuite/gdb.mi/mi-until.exp
+++ b/gdb/testsuite/gdb.mi/mi-until.exp
@@ -60,6 +60,9 @@ proc test_running_to_foo {} {
-re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"foo\",args=\\\[\\\],file=\".*until.c\",line=\"10\"\}\r\n$mi_gdb_prompt$" {
pass "run to main"
}
+ -re ".*$mi_gdb_prompt$" {
+ fail "run to main (2)"
+ }
timeout {
fail "run to main (timeout)"
}