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

index af0ff9600510985cd305db363b1abde06b79aefb..cbd07d1aa7618985d231dddb44da43656098a381 100644 (file)
@@ -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
        }
     }