[obv] testsuite: Detect GDB crash during runto
Jan Kratochvil
jan.kratochvil@redhat.com
Fri Jun 12 21:30:00 GMT 2009
Hi,
checked-in. runto returned success even if GDB crashed.
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2009-06/msg00068.html
--- src/gdb/testsuite/ChangeLog 2009/06/09 17:12:42 1.1885
+++ src/gdb/testsuite/ChangeLog 2009/06/12 21:28:34 1.1886
@@ -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,
--- src/gdb/testsuite/lib/gdb.exp 2009/04/22 19:46:19 1.114
+++ src/gdb/testsuite/lib/gdb.exp 2009/06/12 21:28:34 1.115
@@ -423,6 +423,10 @@
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
More information about the Gdb-patches
mailing list