This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] testsuite: Detect GDB crash during runto


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]