aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/config')
-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
}
}