* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.