* gdb.base/interrupt.exp: Match unexpected gdb prompt.
+2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdb.base/bigcore.exp: Reset increased timeout.
+ * gdb.base/interrupt.exp: Match unexpected gdb prompt.
+
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/gcore.exp (capture_command_output): Use
set oldtimeout $timeout
set timeout 600
gdb_test "signal SIGABRT" "Program terminated with signal SIGABRT, .*"
+set timeout $oldtimeout
# Find the corefile
set file ""
# here.
gdb_expect {
-re "^(\r\n|)data\r\n(|data\r\n)$" { pass "echo data" }
+ -re "Undefined command.*$gdb_prompt " { fail "echo data" }
timeout { fail "echo data (timeout)" }
eof { fail "echo data (eof)" }
}