* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 10 Aug 1993 20:56:52 +0000 (20:56 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 10 Aug 1993 20:56:52 +0000 (20:56 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/config/unix-gdb.exp

index 7c6f1ab..5a29b82 100644 (file)
@@ -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
index bb69bf7..af0ff96 100644 (file)
@@ -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
+       }
     }
 }