gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 12 Jun 2009 21:28:34 +0000 (21:28 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 12 Jun 2009 21:28:34 +0000 (21:28 +0000)
Report error on GDB crash during runto.
* lib/gdb.exp (runto <eof>): New.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index c5fb2e7..3fdfe65 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Report error on GDB crash during runto.
+       * lib/gdb.exp (runto <eof>): New.
+
 2009-06-09  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
index 6f7c351..38cb38a 100644 (file)
@@ -423,6 +423,10 @@ proc runto { function args } {
            fail "running to $function in runto"
            return 0
        }
+       eof { 
+           fail "running to $function in runto (end of file)"
+           return 0
+       }
        timeout { 
            fail "running to $function in runto (timeout)"
            return 0