From: Richard Earnshaw Date: Wed, 13 Feb 2002 17:40:42 +0000 (+0000) Subject: * gdb.base/watchpoint.exp: Restore previous timeout at end of test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78b4f46824bf1fc873b17528ca434b420f12a36a;p=binutils-gdb.git * gdb.base/watchpoint.exp: Restore previous timeout at end of test. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4fc75f395d6..869da449de5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-02-13 Richard Earnshaw + + * gdb.base/watchpoint.exp: Restore previous timeout at end of test. + 2002-02-10 Michael Chastain * gdb.base/funcargs.c (localvars_after_alloca): Fix return type. diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp index f85194c8608..083d807aad1 100644 --- a/gdb/testsuite/gdb.base/watchpoint.exp +++ b/gdb/testsuite/gdb.base/watchpoint.exp @@ -653,6 +653,7 @@ gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir gdb_load $binfile +set prev_timeout $timeout set timeout 600 verbose "Timeout now 600 sec.\n" @@ -798,3 +799,7 @@ if [initialize] then { } } } + +# Restore old timeout +set timeout $prev_timeout +verbose "Timeout now $timeout sec.\n"