aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/config
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-21 20:36:40 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-26 13:27:34 -0500
commitaa1b9bdef2a66205e34b0a62c80d8b1b70268825 (patch)
treead952b6cddb817aabaf23a9b1fc060c033fd45ca /sim/testsuite/config
parent61a5375b842e24b6f492efda7eb213b6e6cf677d (diff)
downloadgdb-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/config')
-rw-r--r--sim/testsuite/config/default.exp37
1 files changed, 0 insertions, 37 deletions
diff --git a/sim/testsuite/config/default.exp b/sim/testsuite/config/default.exp
index 56255a3..c167e10 100644
--- a/sim/testsuite/config/default.exp
+++ b/sim/testsuite/config/default.exp
@@ -2,41 +2,4 @@
load_lib sim-defs.exp
-global AS
-if ![info exists AS] {
- set AS [findfile $base_dir/../../gas/as-new $base_dir/../../gas/as-new \
- [transform as]]
-}
-
-global ASFLAGS
-if ![info exists ASFLAGS] {
- set ASFLAGS ""
-}
-
-# Compilation is achieved with sim_compile ... so we don't check $CC here.
-
-global CFLAGS
-if ![info exists CFLAGS] {
- set CFLAGS ""
-}
-
-global LD
-if ![info exists LD] {
- set LD [findfile $base_dir/../../ld/ld-new $base_dir/../../ld/ld-new \
- [transform ld]]
-}
-
-global LDFLAGS
-if ![info exists LDFLAGS] {
- set LDFLAGS ""
-}
-
-# The path to the simulator is obtained with [board_info host sim],
-# so we don't check $SIM here.
-
-global SIMFLAGS
-if ![info exists SIMFLAGS] {
- set SIMFLAGS ""
-}
-
sim_init