From 283bd6dbf2277c8b2f24db16026c078dafc6ad03 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 10 Aug 1993 21:09:41 +0000 Subject: [PATCH] * config/unix-gdb.exp (gdb_load): Add eof to expect statement. --- gdb/testsuite/config/unix-gdb.exp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp index af0ff960051..cbd07d1aa76 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 } } -- 2.30.2