* gdb.base/bigcore.exp: Reset increased timeout.

* gdb.base/interrupt.exp: Match unexpected gdb prompt.
This commit is contained in:
Daniel Jacobowitz 2010-02-01 17:51:18 +00:00
parent db25f29d62
commit c593ac0e23
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -147,6 +147,7 @@ gdb_test_multiple "info program" $test {
set oldtimeout $timeout
set timeout 600
gdb_test "signal SIGABRT" "Program terminated with signal SIGABRT, .*"
set timeout $oldtimeout
# Find the corefile
set file ""

View File

@ -167,6 +167,7 @@ if ![file exists $binfile] then {
# 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)" }
}