This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
testsuite/lib/insight-support.exp patch
- To: gdb-patches at sources dot redhat dot com
- Subject: testsuite/lib/insight-support.exp patch
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Thu, 4 Oct 2001 18:09:42 -0400
Hi -
The following patch was approved for the test suite. Its purpose
is to tolerate a crash of the child gdb process, so to let the
test suite continue instead of aborting completely.
2001-10-04 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
if gdb child process crashes, just signal an error.
Index: lib/insight-support.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/lib/insight-support.exp,v
retrieving revision 1.4
diff -u -r1.4 insight-support.exp
--- insight-support.exp 2001/09/19 15:39:54 1.4
+++ insight-support.exp 2001/10/04 22:06:30
@@ -94,7 +94,7 @@
set err [catch {exec $GDB -nx -q --tclcommand=$test} res]
if { $err } {
perror "Execing $GDB failed: $res"
- exit 1;
+ append res "\nERROR gdb-crash"
}
return $res
}