aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
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 /gdb/testsuite/config
parent0f1b1bcc12d5f96242c680a76c915fd46e35a811 (diff)
downloadgdb-ae039ff3caf484b43f99897f64efe39840b2a95b.zip
gdb-ae039ff3caf484b43f99897f64efe39840b2a95b.tar.gz
gdb-ae039ff3caf484b43f99897f64efe39840b2a95b.tar.bz2
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r--gdb/testsuite/config/unix-gdb.exp6
1 files changed, 6 insertions, 0 deletions
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
+ }
}
}