aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-10 21:09:41 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-10 21:09:41 +0000
commit283bd6dbf2277c8b2f24db16026c078dafc6ad03 (patch)
tree50b9d896d2ebd0fbf4d165ac813a5f748e97d47c /gdb
parentae039ff3caf484b43f99897f64efe39840b2a95b (diff)
downloadgdb-283bd6dbf2277c8b2f24db16026c078dafc6ad03.zip
gdb-283bd6dbf2277c8b2f24db16026c078dafc6ad03.tar.gz
gdb-283bd6dbf2277c8b2f24db16026c078dafc6ad03.tar.bz2
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/config/unix-gdb.exp7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp
index af0ff96..cbd07d1 100644
--- a/gdb/testsuite/config/unix-gdb.exp
+++ b/gdb/testsuite/config/unix-gdb.exp
@@ -140,9 +140,10 @@ proc gdb_load { arg } {
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)."
+ # This is an attempt to detect a core dump, but seems not to
+ # work. Perhaps we need to match .* followed by eof, in which
+ # expect does not seem to have a way to do that.
+ error "couldn't load $arg into $GDB (end of file)."
return -1
}
}