From: Jim Kingdon Date: Tue, 10 Aug 1993 20:56:52 +0000 (+0000) Subject: * config/unix-gdb.exp (gdb_load): Add eof to expect statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae039ff3caf484b43f99897f64efe39840b2a95b;p=binutils-gdb.git * config/unix-gdb.exp (gdb_load): Add eof to expect statement. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7c6f1ab5619..5a29b828832 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * config/unix-gdb.exp (gdb_load): Add eof to expect statement. + Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com) * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp index bb69bf7a13a..af0ff960051 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 + } } }