aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/arm
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-15 23:23:46 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-13 12:14:25 -0500
commitb0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f (patch)
tree34ebe2fe8d8242fda066324c3039ffc5fb816398 /sim/testsuite/arm
parent9ee455572d97fd8ce458a6df523c447e85dc3edf (diff)
downloadgdb-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.zip
gdb-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.tar.gz
gdb-b0dcd7d832e33240a9c8c1ed3d8d4636acfd8c4f.tar.bz2
sim: testsuite: push $arch out to targets
This is needed to move to automake & its dejagnu-provided logic, and eventually by the unified sim logic. The $arch is used only to figure out which `run` program to use when running tests, and as we move to a single top-level build, we can delete this and use sim/run directly.
Diffstat (limited to 'sim/testsuite/arm')
-rw-r--r--sim/testsuite/arm/ChangeLog5
-rw-r--r--sim/testsuite/arm/allinsn.exp5
-rw-r--r--sim/testsuite/arm/iwmmxt/iwmmxt.exp5
-rw-r--r--sim/testsuite/arm/misc.exp5
-rw-r--r--sim/testsuite/arm/thumb/allthumb.exp5
-rw-r--r--sim/testsuite/arm/xscale/xscale.exp5
6 files changed, 20 insertions, 10 deletions
diff --git a/sim/testsuite/arm/ChangeLog b/sim/testsuite/arm/ChangeLog
index 1237d81..a1e80fe 100644
--- a/sim/testsuite/arm/ChangeLog
+++ b/sim/testsuite/arm/ChangeLog
@@ -1,3 +1,8 @@
+2021-02-13 Mike Frysinger <vapier@gentoo.org>
+
+ * allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex,
+ xscale/xscale.exp: Define arch.
+
2013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
diff --git a/sim/testsuite/arm/allinsn.exp b/sim/testsuite/arm/allinsn.exp
index 9752da6..89ff965 100644
--- a/sim/testsuite/arm/allinsn.exp
+++ b/sim/testsuite/arm/allinsn.exp
@@ -1,8 +1,9 @@
# ARM simulator testsuite.
if { [istarget arm*-*-*] } {
- # load support procs (none yet)
- # load_lib cgen.exp
+ # Used to locate the `run` program.
+ global arch
+ set arch "arm"
# all machines
set all_machs "xscale"
diff --git a/sim/testsuite/arm/iwmmxt/iwmmxt.exp b/sim/testsuite/arm/iwmmxt/iwmmxt.exp
index 4def690..9710f36 100644
--- a/sim/testsuite/arm/iwmmxt/iwmmxt.exp
+++ b/sim/testsuite/arm/iwmmxt/iwmmxt.exp
@@ -1,8 +1,9 @@
# Intel(r) Wireless MMX(tm) technology simulator testsuite.
if { [istarget arm*-*-*] } {
- # load support procs (none yet)
- # load_lib cgen.exp
+ # Used to locate the `run` program.
+ global arch
+ set arch "arm"
# all machines
set all_machs "xscale"
diff --git a/sim/testsuite/arm/misc.exp b/sim/testsuite/arm/misc.exp
index bc36ca8..ea6fd3c 100644
--- a/sim/testsuite/arm/misc.exp
+++ b/sim/testsuite/arm/misc.exp
@@ -1,8 +1,9 @@
# Miscellaneous ARM simulator testcases
if { [istarget arm*-*-*] } {
- # load support procs
- # load_lib cgen.exp
+ # Used to locate the `run` program.
+ global arch
+ set arch "arm"
# all machines
set all_machs "arm7tdmi"
diff --git a/sim/testsuite/arm/thumb/allthumb.exp b/sim/testsuite/arm/thumb/allthumb.exp
index 4298663..eca5fa1 100644
--- a/sim/testsuite/arm/thumb/allthumb.exp
+++ b/sim/testsuite/arm/thumb/allthumb.exp
@@ -1,8 +1,9 @@
# ARM simulator testsuite.
if { [istarget arm*-*-*] } {
- # load support procs (none yet)
- # load_lib cgen.exp
+ # Used to locate the `run` program.
+ global arch
+ set arch "arm"
# all machines
set all_machs "arm7tdmi"
diff --git a/sim/testsuite/arm/xscale/xscale.exp b/sim/testsuite/arm/xscale/xscale.exp
index 7c08f11..20c9df8 100644
--- a/sim/testsuite/arm/xscale/xscale.exp
+++ b/sim/testsuite/arm/xscale/xscale.exp
@@ -1,8 +1,9 @@
# XSCALE simulator testsuite.
if { [istarget arm*-*-*] } {
- # load support procs (none yet)
- # load_lib cgen.exp
+ # Used to locate the `run` program.
+ global arch
+ set arch "arm"
# all machines
set all_machs "xscale"