aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-01-29 15:38:38 +0000
committerDaniel Jacobowitz <drow@false.org>2010-01-29 15:38:38 +0000
commit97f2ed50d0f6749e17b107b3520001c6288f7837 (patch)
tree1a4a0a8fb0be82b9cc2cd5983324aba2a18cb18c /gdb/testsuite/gdb.base/ending-run.exp
parente4e2711a4aea4b4c12347d12ad9987432ff4b21f (diff)
downloadgdb-97f2ed50d0f6749e17b107b3520001c6288f7837.zip
gdb-97f2ed50d0f6749e17b107b3520001c6288f7837.tar.gz
gdb-97f2ed50d0f6749e17b107b3520001c6288f7837.tar.bz2
* gdb.base/call-strs.exp, gdb.base/default.exp,
gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp, gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp, gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp, gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp, gdb.base/watchpoint-solib.exp: Save and restore timeout. * gdb.base/ending-run.exp: Correct restore of timeout. * gdb.base/page.exp: Remove unnecessary timeout setting.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index bfe550d..7086c5d 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -261,8 +261,6 @@ if {! [target_info exists use_gdb_stub]
unsupported "continue after exit"
}
- set timeout $old_timeout
-
if {$program_exited_normally} {
gdb_test "n" ".*The program is not being run.*" "don't step after run"
} elseif {$program_not_exited} {
@@ -285,6 +283,8 @@ if {! [target_info exists use_gdb_stub]
}
}
+set timeout $old_timeout
+
#remote_exec build "rm -f ${binfile}"
return 0