diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-04 09:01:09 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-04-08 00:45:07 -0400 |
commit | 23cb7bac66bf6a24e71390ce7ead5d327ae85439 (patch) | |
tree | feb5cb1d9c3ddb72b94c41cf32492a5af95dab39 /sim/testsuite/arm | |
parent | 0592e80bcf1bbab2fbbb110ea395f9608e4f594c (diff) | |
download | gdb-23cb7bac66bf6a24e71390ce7ead5d327ae85439.zip gdb-23cb7bac66bf6a24e71390ce7ead5d327ae85439.tar.gz gdb-23cb7bac66bf6a24e71390ce7ead5d327ae85439.tar.bz2 |
sim: testsuite: calculate $arch from $subdir
Since we require ports to use a matching subdir name in the testsuite
tree, we can use that to calculate the $arch value.
Diffstat (limited to 'sim/testsuite/arm')
-rw-r--r-- | sim/testsuite/arm/ChangeLog | 6 | ||||
-rw-r--r-- | sim/testsuite/arm/allinsn.exp | 4 | ||||
-rw-r--r-- | sim/testsuite/arm/iwmmxt/iwmmxt.exp | 4 | ||||
-rw-r--r-- | sim/testsuite/arm/misc.exp | 4 | ||||
-rw-r--r-- | sim/testsuite/arm/thumb/allthumb.exp | 4 | ||||
-rw-r--r-- | sim/testsuite/arm/xscale/xscale.exp | 4 |
6 files changed, 6 insertions, 20 deletions
diff --git a/sim/testsuite/arm/ChangeLog b/sim/testsuite/arm/ChangeLog index a1e80fe..89fab48 100644 --- a/sim/testsuite/arm/ChangeLog +++ b/sim/testsuite/arm/ChangeLog @@ -1,3 +1,9 @@ +2021-04-08 Mike Frysinger <vapier@gentoo.org> + + * allinsn.exp (arch): Delete. + * iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.exp, xscale/xscale.exp: + Likewise. + 2021-02-13 Mike Frysinger <vapier@gentoo.org> * allinsn.exp, iwmmxt/iwmmxt.exp, misc.exp, thumb/allthumb.ex, diff --git a/sim/testsuite/arm/allinsn.exp b/sim/testsuite/arm/allinsn.exp index 89ff965..c4d1cce 100644 --- a/sim/testsuite/arm/allinsn.exp +++ b/sim/testsuite/arm/allinsn.exp @@ -1,10 +1,6 @@ # ARM simulator testsuite. if { [istarget arm*-*-*] } { - # 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 9710f36..4aff9c7 100644 --- a/sim/testsuite/arm/iwmmxt/iwmmxt.exp +++ b/sim/testsuite/arm/iwmmxt/iwmmxt.exp @@ -1,10 +1,6 @@ # Intel(r) Wireless MMX(tm) technology simulator testsuite. if { [istarget arm*-*-*] } { - # 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 ea6fd3c..818ee58 100644 --- a/sim/testsuite/arm/misc.exp +++ b/sim/testsuite/arm/misc.exp @@ -1,10 +1,6 @@ # Miscellaneous ARM simulator testcases if { [istarget arm*-*-*] } { - # 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 eca5fa1..ec09a0d 100644 --- a/sim/testsuite/arm/thumb/allthumb.exp +++ b/sim/testsuite/arm/thumb/allthumb.exp @@ -1,10 +1,6 @@ # ARM simulator testsuite. if { [istarget arm*-*-*] } { - # 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 20c9df8..e65a952 100644 --- a/sim/testsuite/arm/xscale/xscale.exp +++ b/sim/testsuite/arm/xscale/xscale.exp @@ -1,10 +1,6 @@ # XSCALE simulator testsuite. if { [istarget arm*-*-*] } { - # Used to locate the `run` program. - global arch - set arch "arm" - # all machines set all_machs "xscale" |