summaryrefslogtreecommitdiffstats
path: root/gdb/testsuite
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/testsuite
parent3e0b0f4890824bbbeb56081ac7d633537c94ad15 (diff)
downloadppe42-binutils-78b4f46824bf1fc873b17528ca434b420f12a36a.tar.gz
ppe42-binutils-78b4f46824bf1fc873b17528ca434b420f12a36a.zip
* gdb.base/watchpoint.exp: Restore previous timeout at end of test.
Diffstat (limited to 'gdb/testsuite')
-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 4fc75f395d..869da449de 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 f85194c860..083d807aad 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"
OpenPOWER on IntegriCloud