* gdb.base/watchpoint.exp: Restore previous timeout at end of test.

This commit is contained in:
Richard Earnshaw 2002-02-13 17:40:42 +00:00
parent 3e0b0f4890
commit 78b4f46824
2 changed files with 9 additions and 0 deletions

View 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.

View 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"