aboutsummaryrefslogtreecommitdiff
path: root/config/gdb-comm.exp
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2023-12-12 13:09:37 +0000
committerJacob Bachmeyer <jcb@gnu.org>2023-12-12 20:45:58 -0600
commit4d924d484a06e8b463fff966297f87a1eabc21bd (patch)
tree6da8b1073a3df764ba0db2766ed6d55d8b51adcb /config/gdb-comm.exp
parent68464b73fdbb474fce995b68140293e4f6b2b61c (diff)
downloaddejagnu-4d924d484a06e8b463fff966297f87a1eabc21bd.zip
dejagnu-4d924d484a06e8b463fff966297f87a1eabc21bd.tar.gz
dejagnu-4d924d484a06e8b463fff966297f87a1eabc21bd.tar.bz2
Do not set `test_timeout' in `unix_load'
The `test_timeout' global parameter is expected to be optionally set by a board description file and then taken into account by `unix_load' to override the default of 300. However not only the procedure checks for the override but it sets the global parameter to the default as well if not present. This might make a minuscule TCL interpreter execution time reduction, but seems rather awkward from the programming style's point of view, and may cause undesired effects if the parameter is referred elsewhere. Remove the setting of the global parameter then, while retaining its semantics. * config/unix.exp (unix_load): Don't ever set `test_timeout', just use it locally.
Diffstat (limited to 'config/gdb-comm.exp')
0 files changed, 0 insertions, 0 deletions