* gdb.base/watchpoint.exp: Restore previous timeout at end of test.
authorRichard Earnshaw <richard.earnshaw@arm.com>
Wed, 13 Feb 2002 17:40:42 +0000 (17:40 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Wed, 13 Feb 2002 17:40:42 +0000 (17:40 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.exp

index 4fc75f395d65c7b9248edab5e4f599c7c6921570..869da449de5b1290134daffa38bf11544a5c671d 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
+
 2002-02-10  Michael Chastain  <mec@shout.net>
 
        * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
index f85194c86081b890160e88cb8f55f4e6b1221210..083d807aad1c90e5c6d8d4854240b6b360f7e228 100644 (file)
@@ -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"