aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-21 23:35:22 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-26 19:17:59 -0500
commit03c0f9c2057d361a1d9e717624ab94e4b7d67bf2 (patch)
tree8a88710a2906644b7e78888fadcd917f2f410aaa /sim/testsuite/lib
parentd07ada6f5a27da66ff83455834e6c3a939816196 (diff)
downloadgdb-03c0f9c2057d361a1d9e717624ab94e4b7d67bf2.zip
gdb-03c0f9c2057d361a1d9e717624ab94e4b7d67bf2.tar.gz
gdb-03c0f9c2057d361a1d9e717624ab94e4b7d67bf2.tar.bz2
sim: testsuite: rename global_sim_options to SIMFLAGS_FOR_TARGET
Now that all the other toolchain settings have been renamed to match the dejagnu settings of XXX_FOR_TARGET, rename global_sim_options to SIMFLAGS_FOR_TARGET too.
Diffstat (limited to 'sim/testsuite/lib')
-rw-r--r--sim/testsuite/lib/sim-defs.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/testsuite/lib/sim-defs.exp b/sim/testsuite/lib/sim-defs.exp
index a9431fc..d10246e 100644
--- a/sim/testsuite/lib/sim-defs.exp
+++ b/sim/testsuite/lib/sim-defs.exp
@@ -185,7 +185,7 @@ proc run_sim_test { name requested_machs } {
global opts
global cpu_option
global cpu_option_sep
- global global_sim_options
+ global SIMFLAGS_FOR_TARGET
if ![file exists [sim_tool_path]] {
unsupported "$name: missing simulator [sim_tool_path]"
@@ -219,8 +219,8 @@ proc run_sim_test { name requested_machs } {
set opts(kfail) ""
set seen_output 0
- if ![info exists global_sim_options] {
- set global_sim_options ""
+ if ![info exists SIMFLAGS_FOR_TARGET] {
+ set SIMFLAGS_FOR_TARGET ""
}
# Clear any machine specific options specified in a previous test case
@@ -368,7 +368,7 @@ proc run_sim_test { name requested_machs } {
set options "$options timeout=$opts(timeout)"
}
- set result [sim_run ${name}.x "$opts(sim,$mach) $global_sim_options" "$opts(progopts)" "" "$options"]
+ set result [sim_run ${name}.x "$opts(sim,$mach) $SIMFLAGS_FOR_TARGET" "$opts(progopts)" "" "$options"]
set return_code [lindex $result 0]
set output [lindex $result 1]