aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-10 20:56:52 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-10 20:56:52 +0000
commitae039ff3caf484b43f99897f64efe39840b2a95b (patch)
tree02a69450c5deb4f9ca5f1f264a72dbcefa4aba26
parent0f1b1bcc12d5f96242c680a76c915fd46e35a811 (diff)
downloadgdb-ae039ff3caf484b43f99897f64efe39840b2a95b.zip
gdb-ae039ff3caf484b43f99897f64efe39840b2a95b.tar.gz
gdb-ae039ff3caf484b43f99897f64efe39840b2a95b.tar.bz2
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/config/unix-gdb.exp6
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7c6f1ab..5a29b82 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
+
Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
* gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp
index bb69bf7..af0ff96 100644
--- a/gdb/testsuite/config/unix-gdb.exp
+++ b/gdb/testsuite/config/unix-gdb.exp
@@ -139,6 +139,12 @@ proc gdb_load { arg } {
error "couldn't load $arg into $GDB (timed out)."
return -1
}
+ eof {
+ # It's possible this should be a FAIL. Usually it means GDB
+ # dumped core.
+ error "couldn't load $arg into $GDB (timed out)."
+ return -1
+ }
}
}