* gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
authorDaniel Jacobowitz <drow@false.org>
Mon, 1 Oct 2001 20:31:38 +0000 (20:31 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 1 Oct 2001 20:31:38 +0000 (20:31 +0000)
        some incorrect output instead of timing out.
        * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-display.exp
gdb/testsuite/gdb.mi/mi0-var-display.exp

index da2b517aee03da255a1717cfc61012122956155e..de03beeb733f5591130be8058d663ce017cf512d 100644 (file)
@@ -1,3 +1,9 @@
+2001-10-01  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdb.mi/mi-var-display.exp (continue to incr_a):  Recognize
+       some incorrect output instead of timing out.
+       * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
+
 2001-09-28  Corinna Vinschen  <vinschen@redhat.com>
 
        * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
index 2eb4e03900d082064f2593da4768175c0081f848..82e5df34dc78ac3dc8c2e311632ac84952c15d17 100644 (file)
@@ -591,6 +591,12 @@ gdb_expect {
     -re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\\\[\{name=\"a\",value=\"2\.*\"\}\\\],file=\".*var-cmd.c\",line=\"85\"\}\r\n$mi_gdb_prompt$" {
        pass "continue to incr_a"
     }
+    -re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\\\[\{name=\"a\",value=\"\.*\"\}\\\],file=\".*var-cmd.c\",line=\"8\[345\]\"\}\r\n$mi_gdb_prompt$" {
+       fail "continue to incr_a (compiler debug info incorrect)"
+    }
+    -re "\\^running\r\n${mi_gdb_prompt}.*\r\n$mi_gdb_prompt$" {
+       fail "continue to incr_a (unknown output)"
+    }
     timeout {
        fail "continue to incr_a (timeout)"
     }
index f2174817325b3e93a58b44b00b5e56496df09b02..561e4915880a6a424891532a76f1703aa520fea6 100644 (file)
@@ -591,6 +591,12 @@ gdb_expect {
     -re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\{\{name=\"a\",value=\"2\.*\"\}\},file=\".*var-cmd.c\",line=\"85\"\}\r\n$mi_gdb_prompt$" {
        pass "continue to incr_a"
     }
+    -re "\\^running\r\n${mi_gdb_prompt}\\*stopped,reason=\"breakpoint-hit\",bkptno=\"3\",thread-id=\"\[01\]\",frame=\{addr=\"$hex\",func=\"incr_a\",args=\{\{name=\"a\",value=\".*\"\}\},file=\".*var-cmd.c\",line=\"8\[345\]\"\}\r\n$mi_gdb_prompt$" {
+       fail "continue to incr_a (compiler debug info incorrect)"
+    }
+    -re "\\^running\r\n${mi_gdb_prompt}.*\r\n$mi_gdb_prompt$" {
+       fail "continue to incr_a (unknown output)"
+    }
     timeout {
        fail "continue to incr_a (timeout)"
     }