old-cross-binutils/gdb/features
Yao Qi 82c40d4b1d Set architecture to arm in arm-*.xml files
This patch is to add the following line to various arm target description
xml files,

<architecture>arm</architecture>

in order to fix problems I've seen on aarch64 multi-arch debugging,

 detach^M
 Detaching from program: build-gdb/gdb/testsuite/gdb.base/attach, process 17145^M
 (gdb) PASS: gdb.base/attach.exp: attach1 detach file^M
 No executable file now.^M
 Architecture of file not recognized.^M
 (gdb) FAIL: gdb.base/attach.exp: attach1, purging symbols after detach

Without this patch, struct target_desc *tdesc_* are not initialised
properly, that is, fields arch and osabi in 'struct target_desc' are
not set properly.  This doesn't cause any problems on single arch
debugging, because arch-utils.c:gdbarch_info_fill will guess correctly.
However, in multi-arch debugging, gdbarch_info_fill gets the aarch64
arch, but the target description is for arm (because the current
inferior is 32-bit arm).

It is a surprise to me we didn't set architecture to "arm" before in *.xml
files, and I didn't find out why didn't do so.  AFAICS,
gdb/features/arm-with-iwmmxt.xml was added firstly (in patch
https://sourceware.org/ml/gdb-patches/2007-01/msg00593.html)
which had <architecture>iwmmxt</architecture>, however, afterwards,
architecture isn't set anymore in features/arm-*.xml files (in patches
https://sourceware.org/ml/gdb-patches/2009-07/msg00689.html and
https://sourceware.org/ml/gdb-patches/2010-08/msg00225.html).

gdb:

2015-07-07  Yao Qi  <yao.qi@linaro.org>

	* features/arm-with-m-fpa-layout.xml: Set architecture to arm.
	* features/arm-with-m-fpa-layout.c: Regenerated.
	* features/arm-with-m-vfp-d16.xml: Likewise.
	* features/arm-with-m-vfp-d16.c: Regenerated.
	* features/arm-with-m.xml: Likewise.
	* features/arm-with-m.c: Regenerated.
	* features/arm-with-neon.xml: Likewise.
	* features/arm-with-neon.c: Regenerated.
	* features/arm-with-vfpv2.xml: Likewise.
	* features/arm-with-vfpv2.c: Regenerated.
	* features/arm-with-vfpv3.xml: Likewise.
	* features/arm-with-vfpv3.c: Regenerated.
2015-07-07 16:58:19 +01:00
..
i386 Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
rs6000 Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-fpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64.c
aarch64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-fpa.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-m-profile.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-vfpv2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-vfpv3.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-iwmmxt.c
arm-with-iwmmxt.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-m-fpa-layout.c Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-m-fpa-layout.xml Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-m-vfp-d16.c Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-m-vfp-d16.xml Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-m.c Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-m.xml Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-neon.c Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-neon.xml Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-vfpv2.c Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-vfpv2.xml Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-vfpv3.c Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
arm-with-vfpv3.xml Set architecture to arm in arm-*.xml files 2015-07-07 16:58:19 +01:00
btrace-conf.dtd btrace: support Intel(R) Processor Trace 2015-07-02 12:49:32 +02:00
btrace.dtd btrace: support Intel(R) Processor Trace 2015-07-02 12:49:32 +02:00
feature_to_c.sh gdbserver/tracepoint: Add 'struct sockaddr_un *' -> 'struct sockaddr *' cast 2015-03-09 11:29:57 +00:00
gdb-target.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdbserver-regs.xsl
library-list-aix.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
library-list-svr4.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
library-list.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
m68k-core.xml
Makefile S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
microblaze-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
microblaze-stack-protect.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
microblaze-with-stack-protect.c
microblaze-with-stack-protect.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
microblaze.c
microblaze.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-cp0.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-cpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-dsp-linux.c
mips-dsp-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-dsp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-fpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-linux.c
mips-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-cp0.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-cpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-dsp-linux.c
mips64-dsp-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-dsp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-fpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-linux.c
mips64-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
nios2-cpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
nios2-linux.c
nios2-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
nios2.c
nios2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
number-regs.xsl
osdata.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-acr.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-core32.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-core64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-fpr.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux32.c
s390-linux32.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux32v1.c
s390-linux32v1.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux32v2.c
s390-linux32v2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux64.c
s390-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux64v1.c
s390-linux64v1.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux64v2.c
s390-linux64v2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-tdb.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-te-linux64.c
s390-te-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-tevx-linux64.c S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390-tevx-linux64.xml S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390-vx-linux64.c S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390-vx-linux64.xml S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390-vx.xml S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390x-core64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-linux64.c
s390x-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-linux64v1.c
s390x-linux64v1.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-linux64v2.c
s390x-linux64v2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-te-linux64.c
s390x-te-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-tevx-linux64.c S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390x-tevx-linux64.xml S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390x-vx-linux64.c S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
s390x-vx-linux64.xml S390: Add target descriptions for vector register sets 2015-03-02 10:57:39 +01:00
sort-regs.xsl
threads.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c6xp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c62x-linux.c
tic6x-c62x-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c62x.c
tic6x-c62x.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64x-linux.c
tic6x-c64x-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64x.c
tic6x-c64x.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64xp-linux.c
tic6x-c64xp-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64xp.c
tic6x-c64xp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-gp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
traceframe-info.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
xinclude.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
xscale-iwmmxt.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00