* mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
authorAndrew Cagney <cagney@redhat.com>
Sun, 19 Aug 2001 00:37:28 +0000 (00:37 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 19 Aug 2001 00:37:28 +0000 (00:37 +0000)
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.

gdb/testsuite/gdb.mi/ChangeLog
gdb/testsuite/gdb.mi/mi-console.exp
gdb/testsuite/gdb.mi/mi-return.exp
gdb/testsuite/gdb.mi/mi-simplerun.exp
gdb/testsuite/gdb.mi/mi-stepi.exp
gdb/testsuite/gdb.mi/mi-until.exp
gdb/testsuite/gdb.mi/mi0-console.exp
gdb/testsuite/gdb.mi/mi0-return.exp
gdb/testsuite/gdb.mi/mi0-simplerun.exp
gdb/testsuite/gdb.mi/mi0-stepi.exp
gdb/testsuite/gdb.mi/mi0-until.exp

index cbd4462a347f82301d4e82029edea1651b127714..0efa07017deaff12558ad314f17f07c512760135 100644 (file)
@@ -1,3 +1,10 @@
+2001-08-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * 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.
+
 2001-06-27  Andrew Cagney  <ac131313@redhat.com>
 
        * mi-disassemble.exp: Update to accept mi1 breakpoint tables.
index 11d9cb31362c3aead9e6a4511fc6bdf43b0fb60e..49269e56a9e0c41dec583c42ccff2ffdbdf19279 100644 (file)
@@ -60,6 +60,9 @@ gdb_expect {
     -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\\\[\\\],file=\".*mi-console.c\",line=\"13\"\}\r\n$mi_gdb_prompt$" {
            pass "run to main"
     }
+    -re ".*$mi_gdb_prompt$" {
+       fail "run to main (2)"
+    }
     timeout {
        fail "run to main (timeout)"
     }
index f1cb6098fe56ee8f8819e054ed1b2f308bae2ac1..977723070f7e64ab95e483359244b260fae4cd00 100644 (file)
@@ -60,6 +60,9 @@ proc test_running_to_callee4 {} {
        -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"callee4\",args=\\\[\\\],file=\".*basics.c\",line=\"8\"\}\r\n$mi_gdb_prompt$" {
            pass "run to callee4"
        }
+       -re ".*$mi_gdb_prompt$" {
+           fail "run to callee4 (2)"
+       }
        timeout {
            fail "run to callee4 (timeout)"
        }
index 20ee341c669306514155e61082f0e1d3c4516213..b1ff7c8cc659b185348319461cec873555e2cb60 100644 (file)
@@ -107,6 +107,9 @@ proc test_running_the_program {} {
        -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\\\[\\\],file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
            pass "run to main"
        }
+       -re ".*$mi_gdb_prompt$" {
+           fail "run to main (2)"
+       }
        timeout {
            fail "run to main (timeout)"
        }
index 87c93af5903968615aebb8c71ae21ccda599051a..b491fa552406da48a572d652170aa8524ff16bc4 100644 (file)
@@ -60,6 +60,9 @@ proc test_running_to_main {} {
        -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\\\[\\\],file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
            pass "run to main"
        }
+       -re ".*$mi_gdb_prompt$" {
+           fail "run to main (2)"
+       }
        timeout {
            fail "run to main (timeout)"
        }
index 57b92e2b090db494f6d3df3acf765366794d3f81..8d74eb1058e62994792eb8484ffdf8ecfc32e840 100644 (file)
@@ -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)"
        }
index 4735dc40dad94a9f19448f67a198cdbba72910b4..1a2f89ffa8f7ec85b334526d71ac4e12f3b3f456 100644 (file)
@@ -60,6 +60,9 @@ gdb_expect {
     -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\{\},file=\".*mi-console.c\",line=\"13\"\}\r\n$mi_gdb_prompt$" {
            pass "run to main"
     }
+    -re ".*$mi_gdb_prompt$" {
+       fail "run to main (2)"
+    }
     timeout {
        fail "run to main (timeout)"
     }
index 95e02526a8e75fd0f6e7f8cd13bf7e6db10bd24f..c582be2e820880aa68fa79be899a84fac305e582 100644 (file)
@@ -60,6 +60,9 @@ proc test_running_to_callee4 {} {
        -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"callee4\",args=\{\},file=\".*basics.c\",line=\"8\"\}\r\n$mi_gdb_prompt$" {
            pass "run to callee4"
        }
+       -re ".*$mi_gdb_prompt$" {
+           fail "run to callee4 (2)"
+       }
        timeout {
            fail "run to callee4 (timeout)"
        }
index 683d6bb4848102f6fb7ef4a7b99e6db2805f470e..15a1e3df38ed66afcdfaae6ecfb8515d3829425c 100644 (file)
@@ -107,6 +107,9 @@ proc test_running_the_program {} {
        -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\{\},file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
            pass "run to main"
        }
+       -re ".*$mi_gdb_prompt$" {
+           fail "run to main (2)"
+       }
        timeout {
            fail "run to main (timeout)"
        }
index 800cef87145cb78348b4d87c171eb7786820a6ce..d68108ea47ab4f89519c9cd53dc42b0ddf58e760 100644 (file)
@@ -60,6 +60,9 @@ proc test_running_to_main {} {
        -re "000\\*stopped,reason=\"breakpoint-hit\",bkptno=\"1\",thread-id=\"0\",frame=\{addr=\"$hex\",func=\"main\",args=\{\},file=\".*basics.c\",line=\"32\"\}\r\n$mi_gdb_prompt$" {
            pass "run to main"
        }
+       -re ".*$mi_gdb_prompt$" {
+           fail "run to main (2)"
+       }
        timeout {
            fail "run to main (timeout)"
        }
index e6330020cb1908f1ca788873bb3349f6d339362d..e38e0076bfdf11f505b6450450a0c62e92bceb14 100644 (file)
@@ -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)"
        }