diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-21 20:36:40 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-26 13:27:34 -0500 |
commit | aa1b9bdef2a66205e34b0a62c80d8b1b70268825 (patch) | |
tree | ad952b6cddb817aabaf23a9b1fc060c033fd45ca /sim/testsuite/lib | |
parent | 61a5375b842e24b6f492efda7eb213b6e6cf677d (diff) | |
download | gdb-aa1b9bdef2a66205e34b0a62c80d8b1b70268825.zip gdb-aa1b9bdef2a66205e34b0a62c80d8b1b70268825.tar.gz gdb-aa1b9bdef2a66205e34b0a62c80d8b1b70268825.tar.bz2 |
sim: testsuite: punt unused toolchain variables
These haven't been used in over 20 years. The sim testsuite used to
run these tools itself directly, but back in ~1999 it switched to the
dejagnu helpers (e.g. target_assemble & target_link), and the dejagnu
logic only utilizes XXX_FOR_TARGET variables. Punt them here to avoid
confusion with dead code.
Diffstat (limited to 'sim/testsuite/lib')
-rw-r--r-- | sim/testsuite/lib/sim-defs.exp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp index b3dff9e..adf1369 100644 --- a/sim/testsuite/lib/sim-defs.exp +++ b/sim/testsuite/lib/sim-defs.exp @@ -73,8 +73,6 @@ proc sim_tool_path {} { # simulator (not the simulated program, the simulator) with sim_load. proc sim_run { prog sim_opts prog_opts redir options } { - global SIMFLAGS - # Set the default value of the timeout. # FIXME: The timeout value we actually want is a function of # host, target, and testcase. @@ -130,12 +128,12 @@ proc sim_run { prog sim_opts prog_opts redir options } { set cmd "$prog" } - send_log "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts\n" + send_log "$sim $always_opts $sim_opts $cmd $prog_opts\n" if { "$redir" == "" } { - remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts" + remote_spawn host "$sim $always_opts $sim_opts $cmd $prog_opts" } else { - remote_spawn host "$sim $always_opts $SIMFLAGS $sim_opts $cmd $prog_opts $redir" writeonly + remote_spawn host "$sim $always_opts $sim_opts $cmd $prog_opts $redir" writeonly } set result [remote_wait host $testcase_timeout] @@ -184,7 +182,6 @@ proc sim_run { prog sim_opts prog_opts redir options } { proc run_sim_test { name requested_machs } { global subdir srcdir - global SIMFLAGS global opts global cpu_option global cpu_option_sep |