This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Remove code handling old ARM aliases from GDB
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 4 May 2011 19:00:14 +0000 (UTC)
- Subject: Remove code handling old ARM aliases from GDB
There used to be various alternative target triplets for some ARM
targets such as strongarm*-*-*, thumb*-*-* and xscale*-*-*. These are
now handled by config.sub as aliases for arm*-*-* (or in the case of
ep9312*-*-*, rejected outright by config.sub), so no code in configure
scripts or testsuites needs to allow for the old alternative names any
more; this patch removes code handling them from GDB. I previously
removed such code from binutils in
<http://sourceware.org/ml/binutils/2011-03/msg00576.html>. OK to
commit?
gdb:
2011-05-04 Joseph Myers <joseph@codesourcery.com>
* configure.host (xscale*): Don't handle target.
* configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
handle targets.
gdb/gdbserver:
2011-05-04 Joseph Myers <joseph@codesourcery.com>
* README: Don't mention xscale*-*-linux*.
* configure.srv (xscale*-*-linux*): Don't handle target.
gdb/testsuite:
2011-05-04 Joseph Myers <joseph@codesourcery.com>
* gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
* gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
targets.
* gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
handle targets.
sim:
2011-05-04 Joseph Myers <joseph@codesourcery.com>
* configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
handle targets.
* configure: Regenerate.
sim/testsuite:
2011-05-04 Joseph Myers <joseph@codesourcery.com>
* configure: Regenerate.
* sim/arm/allinsn.exp (xscale*-*-*): Don't handle target.
* sim/arm/misc.exp (thumb*-*-*, xscale*-*-*): Don't handle
targets.
* sim/arm/iwmmxt/iwmmxt.exp: Test for arm*-*-* instead of
xscale*-*-*.
* sim/arm/thumb/allthumb.exp (thumb*-*-*): Don't handle target.
* sim/arm/xscale/xscale.exp: Test for arm*-*-* instead of
xscale*-*-*.
Index: gdb/configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.105
diff -u -r1.105 configure.host
--- gdb/configure.host 13 Jan 2011 16:24:12 -0000 1.105
+++ gdb/configure.host 4 May 2011 18:52:01 -0000
@@ -51,7 +51,6 @@
s390*) gdb_host_cpu=s390 ;;
sh*) gdb_host_cpu=sh ;;
x86_64*) gdb_host_cpu=i386 ;;
-xscale*) gdb_host_cpu=arm ;;
m32r*) gdb_host_cpu=m32r ;;
xtensa*) gdb_host_cpu=xtensa ;;
*) gdb_host_cpu=$host_cpu ;;
Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.243
diff -u -r1.243 configure.tgt
--- gdb/configure.tgt 6 Mar 2011 00:22:38 -0000 1.243
+++ gdb/configure.tgt 4 May 2011 18:52:01 -0000
@@ -94,7 +94,7 @@
# Target: SymbianOS/arm
gdb_target_obs="arm-tdep.o solib-target.o arm-symbian-tdep.o"
;;
-arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
+arm*-*-*)
# Target: ARM embedded system
gdb_target_obs="arm-tdep.o"
gdb_sim=../sim/arm/libsim.a
Index: gdb/gdbserver/README
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/README,v
retrieving revision 1.6
diff -u -r1.6 README
--- gdb/gdbserver/README 29 Dec 2010 16:15:42 -0000 1.6
+++ gdb/gdbserver/README 4 May 2011 18:52:01 -0000
@@ -99,7 +99,6 @@
sh-*-linux*
spu*-*-*
x86_64-*-linux*
- xscale*-*-linux*
Configuring GDBserver you should specify the same machine for host and
target (which are the machine that GDBserver is going to run on. This
Index: gdb/gdbserver/configure.srv
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/configure.srv,v
retrieving revision 1.59
diff -u -r1.59 configure.srv
--- gdb/gdbserver/configure.srv 29 Dec 2010 16:15:42 -0000 1.59
+++ gdb/gdbserver/configure.srv 4 May 2011 18:52:01 -0000
@@ -257,11 +257,6 @@
srv_mingw=yes
;;
- xscale*-*-linux*) srv_regobj=reg-arm.o
- srv_tgtobj="linux-low.o linux-arm-low.o"
- srv_linux_usrregs=yes
- srv_linux_thread_db=yes
- ;;
xtensa*-*-linux*) srv_regobj=reg-xtensa.o
srv_tgtobj="linux-low.o linux-xtensa-low.o"
srv_linux_regsets=yes
Index: gdb/testsuite/gdb.base/a2-run.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/a2-run.exp,v
retrieving revision 1.18
diff -u -r1.18 a2-run.exp
--- gdb/testsuite/gdb.base/a2-run.exp 7 Mar 2011 16:03:02 -0000 1.18
+++ gdb/testsuite/gdb.base/a2-run.exp 4 May 2011 18:52:01 -0000
@@ -111,7 +111,7 @@
verbose "Timeout is now $timeout seconds" 2
gdb_expect -re "$gdb_prompt $" {}
} else {
- setup_xfail "mips-idt-*" "arm-*-coff strongarm-*-coff"
+ setup_xfail "mips-idt-*" "arm-*-coff"
gdb_run_cmd 5
gdb_expect {
-re ".*120.*$gdb_prompt $"\
@@ -139,7 +139,7 @@
verbose "Timeout is now $timeout seconds" 2
gdb_expect -re "$gdb_prompt $" {}
} else {
- setup_xfail "arm-*-coff strongarm-*-coff"
+ setup_xfail "arm-*-coff"
gdb_expect {
-re ".*120.*$gdb_prompt $"\
{ pass "run \"$testfile\" again with same args" }
@@ -216,7 +216,7 @@
verbose "Timeout is now $timeout seconds" 2
gdb_expect -re "$gdb_prompt $" {}
} else {
- setup_xfail "arm-*-coff strongarm-*-coff"
+ setup_xfail "arm-*-coff"
gdb_expect {
-re ".*720.*$gdb_prompt $" {
pass "run \"$testfile\" again after setting args"
Index: gdb/testsuite/gdb.base/float.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/float.exp,v
retrieving revision 1.23
diff -u -r1.23 float.exp
--- gdb/testsuite/gdb.base/float.exp 1 Jan 2011 15:33:41 -0000 1.23
+++ gdb/testsuite/gdb.base/float.exp 4 May 2011 18:52:01 -0000
@@ -42,9 +42,7 @@
if { [istarget "alpha*-*-*"] } then {
gdb_test "info float" "f0.*" "info float"
-} elseif { [istarget "arm*-*-*"] || \
- [istarget "xscale*-*-*"] || \
- [istarget "strongarm*-*-*"] } then {
+} elseif { [istarget "arm*-*-*"] } then {
gdb_test_multiple "info float" "info float" {
-re "Software FPU type.*mask:.*flags:.*$gdb_prompt $" {
pass "info float (FPA)"
Index: gdb/testsuite/gdb.base/long_long.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/long_long.exp,v
retrieving revision 1.34
diff -u -r1.34 long_long.exp
--- gdb/testsuite/gdb.base/long_long.exp 1 Jan 2011 15:33:42 -0000 1.34
+++ gdb/testsuite/gdb.base/long_long.exp 4 May 2011 18:52:01 -0000
@@ -165,9 +165,7 @@
# words swapped in big endian format.
# EABI targets default to natural-endian VFP format.
- if { ([istarget "arm*-*-*"] || \
- [istarget "xscale*-*-*"] || \
- [istarget "strongarm*-*-*"]) \
+ if { ([istarget "arm*-*-*"]) \
&& !([istarget "*-*-*eabi"] || \
[istarget "*-*-mingw32ce*"] || \
[istarget "*-*-openbsd*"] || \
Index: sim/configure
===================================================================
RCS file: /cvs/src/src/sim/configure,v
retrieving revision 1.35
diff -u -r1.35 configure
--- sim/configure 6 Mar 2011 00:20:17 -0000 1.35
+++ sim/configure 4 May 2011 18:52:03 -0000
@@ -3623,7 +3623,7 @@
sim_igen=no
sim_arch=
case "${target}" in
- arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
+ arm*-*-*)
sim_arch=arm
Index: sim/configure.tgt
===================================================================
RCS file: /cvs/src/src/sim/configure.tgt,v
retrieving revision 1.2
diff -u -r1.2 configure.tgt
--- sim/configure.tgt 6 Mar 2011 00:20:19 -0000 1.2
+++ sim/configure.tgt 4 May 2011 18:52:03 -0000
@@ -16,7 +16,7 @@
sim_igen=no
sim_arch=
case "${target}" in
- arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
+ arm*-*-*)
SIM_ARCH(arm)
sim_testsuite=yes
;;
Index: sim/testsuite/configure
===================================================================
RCS file: /cvs/src/src/sim/testsuite/configure,v
retrieving revision 1.6
diff -u -r1.6 configure
--- sim/testsuite/configure 26 Apr 2010 16:23:23 -0000 1.6
+++ sim/testsuite/configure 4 May 2011 18:52:03 -0000
@@ -1823,13 +1823,16 @@
sim_igen=no
sim_arch=
case "${target}" in
- arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
+ arm*-*-*)
sim_arch=arm
sim_testsuite=yes
;;
avr*-*-*)
sim_arch=avr
;;
+ bfin-*-*)
+ sim_arch=bfin
+ ;;
cr16*-*-*)
sim_arch=cr16
sim_testsuite=yes
Index: sim/testsuite/sim/arm/allinsn.exp
===================================================================
RCS file: /cvs/src/src/sim/testsuite/sim/arm/allinsn.exp,v
retrieving revision 1.1
diff -u -r1.1 allinsn.exp
--- sim/testsuite/sim/arm/allinsn.exp 1 Apr 2003 11:07:58 -0000 1.1
+++ sim/testsuite/sim/arm/allinsn.exp 4 May 2011 18:52:03 -0000
@@ -1,6 +1,6 @@
# ARM simulator testsuite.
-if { [istarget arm*-*-*] || [istarget xscale*-*-*] } {
+if { [istarget arm*-*-*] } {
# load support procs (none yet)
# load_lib cgen.exp
Index: sim/testsuite/sim/arm/misc.exp
===================================================================
RCS file: /cvs/src/src/sim/testsuite/sim/arm/misc.exp,v
retrieving revision 1.1
diff -u -r1.1 misc.exp
--- sim/testsuite/sim/arm/misc.exp 1 Apr 2003 11:07:58 -0000 1.1
+++ sim/testsuite/sim/arm/misc.exp 4 May 2011 18:52:03 -0000
@@ -1,6 +1,6 @@
# Miscellaneous ARM simulator testcases
-if { [istarget arm*-*-*] || [istarget thumb*-*-*] || [istarget xscale*-*-*] } {
+if { [istarget arm*-*-*] } {
# load support procs
# load_lib cgen.exp
Index: sim/testsuite/sim/arm/iwmmxt/iwmmxt.exp
===================================================================
RCS file: /cvs/src/src/sim/testsuite/sim/arm/iwmmxt/iwmmxt.exp,v
retrieving revision 1.1
diff -u -r1.1 iwmmxt.exp
--- sim/testsuite/sim/arm/iwmmxt/iwmmxt.exp 1 Apr 2003 11:07:58 -0000 1.1
+++ sim/testsuite/sim/arm/iwmmxt/iwmmxt.exp 4 May 2011 18:52:03 -0000
@@ -1,6 +1,6 @@
# Intel(r) Wireless MMX(tm) technology simulator testsuite.
-if { [istarget xscale*-*-*] } {
+if { [istarget arm*-*-*] } {
# load support procs (none yet)
# load_lib cgen.exp
Index: sim/testsuite/sim/arm/thumb/allthumb.exp
===================================================================
RCS file: /cvs/src/src/sim/testsuite/sim/arm/thumb/allthumb.exp,v
retrieving revision 1.1
diff -u -r1.1 allthumb.exp
--- sim/testsuite/sim/arm/thumb/allthumb.exp 1 Apr 2003 11:07:58 -0000 1.1
+++ sim/testsuite/sim/arm/thumb/allthumb.exp 4 May 2011 18:52:03 -0000
@@ -1,7 +1,6 @@
# ARM simulator testsuite.
-if { [istarget arm*-*-*]
- || [istarget thumb*-*-*] } {
+if { [istarget arm*-*-*] } {
# load support procs (none yet)
# load_lib cgen.exp
Index: sim/testsuite/sim/arm/xscale/xscale.exp
===================================================================
RCS file: /cvs/src/src/sim/testsuite/sim/arm/xscale/xscale.exp,v
retrieving revision 1.1
diff -u -r1.1 xscale.exp
--- sim/testsuite/sim/arm/xscale/xscale.exp 1 Apr 2003 11:07:58 -0000 1.1
+++ sim/testsuite/sim/arm/xscale/xscale.exp 4 May 2011 18:52:03 -0000
@@ -1,6 +1,6 @@
# XSCALE simulator testsuite.
-if { [istarget xscale*-*-*] } {
+if { [istarget arm*-*-*] } {
# load support procs (none yet)
# load_lib cgen.exp
--
Joseph S. Myers
joseph@codesourcery.com