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