aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-02-13 17:40:42 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-02-13 17:40:42 +0000
commit78b4f46824bf1fc873b17528ca434b420f12a36a (patch)
tree02b99226eb338005d322aa62312de1e1d537fa93 /gdb
parent3e0b0f4890824bbbeb56081ac7d633537c94ad15 (diff)
downloadgdb-78b4f46824bf1fc873b17528ca434b420f12a36a.zip
gdb-78b4f46824bf1fc873b17528ca434b420f12a36a.tar.gz
gdb-78b4f46824bf1fc873b17528ca434b420f12a36a.tar.bz2
* gdb.base/watchpoint.exp: Restore previous timeout at end of test.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4fc75f3..869da44 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index f85194c..083d807 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"