From 78b4f46824bf1fc873b17528ca434b420f12a36a Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Wed, 13 Feb 2002 17:40:42 +0000 Subject: [PATCH] * gdb.base/watchpoint.exp: Restore previous timeout at end of test. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/watchpoint.exp | 5 +++++ 2 files changed, 9 insertions(+) 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" -- 2.30.2