mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
Unnecessary restore of timeout global at end of gdb.base/completion.exp
This patch removes some code in gdb.base/compilation.exp which is aimed at restoring the original timeout global value after having changed it for this testcase. Restoring the timeout global is not necessary as this is taken care of by gdb_init, which is called at the start of each testing. gdb/testsuite/ChangeLog: * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2014-06-02 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
|
||||
|
||||
2014-06-01 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* gdb.base/watchpoint.exp (test_watch_location): Check null
|
||||
|
@ -66,7 +66,6 @@ if ![runto_main] then {
|
||||
perror "tests suppressed"
|
||||
}
|
||||
|
||||
set oldtimeout1 $timeout
|
||||
set timeout 30
|
||||
|
||||
gdb_test_no_output "complete print values\[0\].x." \
|
||||
@ -747,7 +746,4 @@ gdb_test_multiple "" "$test" {
|
||||
}
|
||||
}
|
||||
|
||||
# Restore globals modified in this test...
|
||||
set timeout $oldtimeout1
|
||||
|
||||
return 0
|
||||
|
Reference in New Issue
Block a user