From ae039ff3caf484b43f99897f64efe39840b2a95b Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 10 Aug 1993 20:56:52 +0000 Subject: [PATCH] * config/unix-gdb.exp (gdb_load): Add eof to expect statement. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/config/unix-gdb.exp | 6 ++++++ 2 files changed, 10 insertions(+) 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 + } } } -- 2.30.2