From 0a69eedb6d7c1c90ec7888a857c4d7c0a1fd1b31 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 5 Oct 2016 09:31:13 +0100 Subject: Clean up the XML files for ARM This patch is move features/arm-*.xml to features/arm/, and it is based on Terry's patch posted here https://sourceware.org/ml/gdb-patches/2014-06/msg00794.html One comment to Terry's patch is about losing "arm" prefix, and the new patch fixes this problem. gdb: 2016-10-05 Terry Guo Yao Qi * arm-tdep.c: Adjust includes. * features/Makefile (WHICH): Add "arm/" directory to arm target descriptions. (XMLTOC): Likewise. (arm/arm-with-iwmmxt.dat): Adjust the path for dependencies. * features/arm-core.xml: Moved to ... * features/arm/arm-core.xml: ... it. * features/arm-fpa.xml: Moved to ... * features/arm/arm-fpa.xml: ... it. * features/arm-m-profile.xml: Moved to ... * features/arm/arm-m-profile.xm: ... it. * features/arm-vfpv2.xml: Moved to ... * features/arm/arm-vfpv2.xm: ... it. * features/arm-vfpv3.xml: Moved to ... * features/arm/arm-vfpv3.xml: ... it. * features/arm-with-iwmmxt.c: Moved to ... * features/arm/arm-with-iwmmxt.c: ... it. * features/arm-with-iwmmxt.xml: Moved to ... * features/arm/arm-with-iwmmxt.xml: ... it. * features/arm-with-m-fpa-layout.c: Moved to ... * features/arm/arm-with-m-fpa-layout.c: ... it. * features/arm-with-m-fpa-layout.xml: Moved to ... * features/arm/arm-with-m-fpa-layout.xml: ... it. * features/arm-with-m-vfp-d16.c: Moved to ... * features/arm/arm-with-m-vfp-d16.c: ... it. * features/arm-with-m-vfp-d16.xml: Moved to ... * features/arm/arm-with-m-vfp-d16.xml: ... it. * features/arm-with-m.c: Moved to ... * features/arm/arm-with-m.c: ... it. * features/arm-with-m.xml: Moved to ... * features/arm/arm-with-m.xm: ... it. * features/arm-with-neon.c: Moved to ... * features/arm/arm-with-neon.c: ... it. * features/arm-with-neon.xml: Moved to ... * features/arm/arm-with-neon.xml: ... it. * features/arm-with-vfpv2.c: Moved to ... * features/arm/arm-with-vfpv2.c: ... it. * features/arm-with-vfpv2.xml: Moved to ... * features/arm/arm-with-vfpv2.xml: ... it. * features/arm-with-vfpv3.c: Moved to ... * features/arm/arm-with-vfpv3.c: ... it. * features/arm-with-vfpv3.xml: Moved to ... * features/arm/arm-with-vfpv3.xml: ... it. * features/xscale-iwmmxt.xml: Moved to ... * features/arm/xscale-iwmmxt.xml: ... it. gdb/gdbserver: 2016-10-05 Terry Guo Yao Qi * Makefile.in: Adjust the path of rules. * configure.srv: Update the path of xml files. * regformats/arm-with-iwmmxt.dat: Regenerated. * regformats/arm-with-neon.dat: Likewise. * regformats/arm-with-vfpv2.dat: Likewise. * regformats/arm-with-vfpv3.dat Likewise. --- gdb/ChangeLog | 50 ++++++++++++++++++ gdb/arm-tdep.c | 14 ++--- gdb/features/Makefile | 19 +++---- gdb/features/arm-core.xml | 31 ----------- gdb/features/arm-fpa.xml | 23 --------- gdb/features/arm-m-profile.xml | 27 ---------- gdb/features/arm-vfpv2.xml | 28 ---------- gdb/features/arm-vfpv3.xml | 44 ---------------- gdb/features/arm-with-iwmmxt.c | 82 ------------------------------ gdb/features/arm-with-iwmmxt.xml | 13 ----- gdb/features/arm-with-m-fpa-layout.c | 46 ----------------- gdb/features/arm-with-m-fpa-layout.xml | 46 ----------------- gdb/features/arm-with-m-vfp-d16.c | 56 -------------------- gdb/features/arm-with-m-vfp-d16.xml | 14 ----- gdb/features/arm-with-m.c | 37 -------------- gdb/features/arm-with-m.xml | 12 ----- gdb/features/arm-with-neon.c | 74 --------------------------- gdb/features/arm-with-neon.xml | 14 ----- gdb/features/arm-with-vfpv2.c | 56 -------------------- gdb/features/arm-with-vfpv2.xml | 13 ----- gdb/features/arm-with-vfpv3.c | 72 -------------------------- gdb/features/arm-with-vfpv3.xml | 13 ----- gdb/features/arm/arm-core.xml | 31 +++++++++++ gdb/features/arm/arm-fpa.xml | 23 +++++++++ gdb/features/arm/arm-m-profile.xml | 27 ++++++++++ gdb/features/arm/arm-vfpv2.xml | 28 ++++++++++ gdb/features/arm/arm-vfpv3.xml | 44 ++++++++++++++++ gdb/features/arm/arm-with-iwmmxt.c | 82 ++++++++++++++++++++++++++++++ gdb/features/arm/arm-with-iwmmxt.xml | 13 +++++ gdb/features/arm/arm-with-m-fpa-layout.c | 46 +++++++++++++++++ gdb/features/arm/arm-with-m-fpa-layout.xml | 46 +++++++++++++++++ gdb/features/arm/arm-with-m-vfp-d16.c | 56 ++++++++++++++++++++ gdb/features/arm/arm-with-m-vfp-d16.xml | 14 +++++ gdb/features/arm/arm-with-m.c | 37 ++++++++++++++ gdb/features/arm/arm-with-m.xml | 12 +++++ gdb/features/arm/arm-with-neon.c | 74 +++++++++++++++++++++++++++ gdb/features/arm/arm-with-neon.xml | 14 +++++ gdb/features/arm/arm-with-vfpv2.c | 56 ++++++++++++++++++++ gdb/features/arm/arm-with-vfpv2.xml | 13 +++++ gdb/features/arm/arm-with-vfpv3.c | 72 ++++++++++++++++++++++++++ gdb/features/arm/arm-with-vfpv3.xml | 13 +++++ gdb/features/arm/xscale-iwmmxt.xml | 44 ++++++++++++++++ gdb/features/xscale-iwmmxt.xml | 44 ---------------- gdb/gdbserver/ChangeLog | 10 ++++ gdb/gdbserver/Makefile.in | 16 +++--- gdb/gdbserver/configure.srv | 16 +++--- gdb/regformats/arm-with-iwmmxt.dat | 53 ------------------- gdb/regformats/arm-with-neon.dat | 64 ----------------------- gdb/regformats/arm-with-vfpv2.dat | 48 ----------------- gdb/regformats/arm-with-vfpv3.dat | 64 ----------------------- gdb/regformats/arm/arm-with-iwmmxt.dat | 53 +++++++++++++++++++ gdb/regformats/arm/arm-with-neon.dat | 64 +++++++++++++++++++++++ gdb/regformats/arm/arm-with-vfpv2.dat | 48 +++++++++++++++++ gdb/regformats/arm/arm-with-vfpv3.dat | 64 +++++++++++++++++++++++ 54 files changed, 1067 insertions(+), 1006 deletions(-) delete mode 100644 gdb/features/arm-core.xml delete mode 100644 gdb/features/arm-fpa.xml delete mode 100644 gdb/features/arm-m-profile.xml delete mode 100644 gdb/features/arm-vfpv2.xml delete mode 100644 gdb/features/arm-vfpv3.xml delete mode 100644 gdb/features/arm-with-iwmmxt.c delete mode 100644 gdb/features/arm-with-iwmmxt.xml delete mode 100644 gdb/features/arm-with-m-fpa-layout.c delete mode 100644 gdb/features/arm-with-m-fpa-layout.xml delete mode 100644 gdb/features/arm-with-m-vfp-d16.c delete mode 100644 gdb/features/arm-with-m-vfp-d16.xml delete mode 100644 gdb/features/arm-with-m.c delete mode 100644 gdb/features/arm-with-m.xml delete mode 100644 gdb/features/arm-with-neon.c delete mode 100644 gdb/features/arm-with-neon.xml delete mode 100644 gdb/features/arm-with-vfpv2.c delete mode 100644 gdb/features/arm-with-vfpv2.xml delete mode 100644 gdb/features/arm-with-vfpv3.c delete mode 100644 gdb/features/arm-with-vfpv3.xml create mode 100644 gdb/features/arm/arm-core.xml create mode 100644 gdb/features/arm/arm-fpa.xml create mode 100644 gdb/features/arm/arm-m-profile.xml create mode 100644 gdb/features/arm/arm-vfpv2.xml create mode 100644 gdb/features/arm/arm-vfpv3.xml create mode 100644 gdb/features/arm/arm-with-iwmmxt.c create mode 100644 gdb/features/arm/arm-with-iwmmxt.xml create mode 100644 gdb/features/arm/arm-with-m-fpa-layout.c create mode 100644 gdb/features/arm/arm-with-m-fpa-layout.xml create mode 100644 gdb/features/arm/arm-with-m-vfp-d16.c create mode 100644 gdb/features/arm/arm-with-m-vfp-d16.xml create mode 100644 gdb/features/arm/arm-with-m.c create mode 100644 gdb/features/arm/arm-with-m.xml create mode 100644 gdb/features/arm/arm-with-neon.c create mode 100644 gdb/features/arm/arm-with-neon.xml create mode 100644 gdb/features/arm/arm-with-vfpv2.c create mode 100644 gdb/features/arm/arm-with-vfpv2.xml create mode 100644 gdb/features/arm/arm-with-vfpv3.c create mode 100644 gdb/features/arm/arm-with-vfpv3.xml create mode 100644 gdb/features/arm/xscale-iwmmxt.xml delete mode 100644 gdb/features/xscale-iwmmxt.xml delete mode 100644 gdb/regformats/arm-with-iwmmxt.dat delete mode 100644 gdb/regformats/arm-with-neon.dat delete mode 100644 gdb/regformats/arm-with-vfpv2.dat delete mode 100644 gdb/regformats/arm-with-vfpv3.dat create mode 100644 gdb/regformats/arm/arm-with-iwmmxt.dat create mode 100644 gdb/regformats/arm/arm-with-neon.dat create mode 100644 gdb/regformats/arm/arm-with-vfpv2.dat create mode 100644 gdb/regformats/arm/arm-with-vfpv3.dat (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2b5232c..f28a0ef 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,53 @@ +2016-10-05 Terry Guo + Yao Qi + + * arm-tdep.c: Adjust includes. + * features/Makefile (WHICH): Add "arm/" directory to arm + target descriptions. + (XMLTOC): Likewise. + (arm/arm-with-iwmmxt.dat): Adjust the path for + dependencies. + * features/arm-core.xml: Moved to ... + * features/arm/arm-core.xml: ... it. + * features/arm-fpa.xml: Moved to ... + * features/arm/arm-fpa.xml: ... it. + * features/arm-m-profile.xml: Moved to ... + * features/arm/arm-m-profile.xm: ... it. + * features/arm-vfpv2.xml: Moved to ... + * features/arm/arm-vfpv2.xm: ... it. + * features/arm-vfpv3.xml: Moved to ... + * features/arm/arm-vfpv3.xml: ... it. + * features/arm-with-iwmmxt.c: Moved to ... + * features/arm/arm-with-iwmmxt.c: ... it. + * features/arm-with-iwmmxt.xml: Moved to ... + * features/arm/arm-with-iwmmxt.xml: ... it. + * features/arm-with-m-fpa-layout.c: Moved to ... + * features/arm/arm-with-m-fpa-layout.c: ... it. + * features/arm-with-m-fpa-layout.xml: Moved to ... + * features/arm/arm-with-m-fpa-layout.xml: ... it. + * features/arm-with-m-vfp-d16.c: Moved to ... + * features/arm/arm-with-m-vfp-d16.c: ... it. + * features/arm-with-m-vfp-d16.xml: Moved to ... + * features/arm/arm-with-m-vfp-d16.xml: ... it. + * features/arm-with-m.c: Moved to ... + * features/arm/arm-with-m.c: ... it. + * features/arm-with-m.xml: Moved to ... + * features/arm/arm-with-m.xm: ... it. + * features/arm-with-neon.c: Moved to ... + * features/arm/arm-with-neon.c: ... it. + * features/arm-with-neon.xml: Moved to ... + * features/arm/arm-with-neon.xml: ... it. + * features/arm-with-vfpv2.c: Moved to ... + * features/arm/arm-with-vfpv2.c: ... it. + * features/arm-with-vfpv2.xml: Moved to ... + * features/arm/arm-with-vfpv2.xml: ... it. + * features/arm-with-vfpv3.c: Moved to ... + * features/arm/arm-with-vfpv3.c: ... it. + * features/arm-with-vfpv3.xml: Moved to ... + * features/arm/arm-with-vfpv3.xml: ... it. + * features/xscale-iwmmxt.xml: Moved to ... + * features/arm/xscale-iwmmxt.xml: ... it. + 2016-10-03 Antoine Tremblay 2016-10-03 Simon Marchi diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index a07d93b..4211cd5 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -60,13 +60,13 @@ #include "record-full.h" #include -#include "features/arm-with-m.c" -#include "features/arm-with-m-fpa-layout.c" -#include "features/arm-with-m-vfp-d16.c" -#include "features/arm-with-iwmmxt.c" -#include "features/arm-with-vfpv2.c" -#include "features/arm-with-vfpv3.c" -#include "features/arm-with-neon.c" +#include "features/arm/arm-with-m.c" +#include "features/arm/arm-with-m-fpa-layout.c" +#include "features/arm/arm-with-m-vfp-d16.c" +#include "features/arm/arm-with-iwmmxt.c" +#include "features/arm/arm-with-vfpv2.c" +#include "features/arm/arm-with-vfpv3.c" +#include "features/arm/arm-with-neon.c" static int arm_debug; diff --git a/gdb/features/Makefile b/gdb/features/Makefile index 4efb1a5..f24b13e 100644 --- a/gdb/features/Makefile +++ b/gdb/features/Makefile @@ -44,7 +44,8 @@ # make GDB=/path/to/gdb XMLTOC="xml files" cfiles WHICH = aarch64 \ - arm-with-iwmmxt arm-with-vfpv2 arm-with-vfpv3 arm-with-neon \ + arm/arm-with-iwmmxt arm/arm-with-vfpv2 arm/arm-with-vfpv3 \ + arm/arm-with-neon \ i386/i386 i386/i386-linux \ i386/i386-mmx i386/i386-mmx-linux \ i386/amd64 i386/amd64-linux \ @@ -150,13 +151,13 @@ XMLTOC = \ aarch64.xml \ arc-v2.xml \ arc-arcompact.xml \ - arm-with-iwmmxt.xml \ - arm-with-m-fpa-layout.xml \ - arm-with-m-vfp-d16.xml \ - arm-with-m.xml \ - arm-with-neon.xml \ - arm-with-vfpv2.xml \ - arm-with-vfpv3.xml \ + arm/arm-with-iwmmxt.xml \ + arm/arm-with-m-fpa-layout.xml \ + arm/arm-with-m-vfp-d16.xml \ + arm/arm-with-m.xml \ + arm/arm-with-neon.xml \ + arm/arm-with-vfpv2.xml \ + arm/arm-with-vfpv3.xml \ i386/amd64-avx-linux.xml \ i386/amd64-avx.xml \ i386/amd64-avx512-linux.xml \ @@ -270,7 +271,7 @@ cfiles: $(CFILES) sh ../../move-if-change $@.tmp $@ # Other dependencies. -$(outdir)/arm-with-iwmmxt.dat: arm-core.xml xscale-iwmmxt.xml +$(outdir)/arm/arm-with-iwmmxt.dat: arm/arm-core.xml arm/xscale-iwmmxt.xml $(outdir)/i386/i386.dat: i386/32bit-core.xml i386/32bit-sse.xml $(outdir)/i386/i386-linux.dat: i386/32bit-core.xml i386/32bit-sse.xml \ i386/32bit-linux.xml diff --git a/gdb/features/arm-core.xml b/gdb/features/arm-core.xml deleted file mode 100644 index f7f1a1d..0000000 --- a/gdb/features/arm-core.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gdb/features/arm-fpa.xml b/gdb/features/arm-fpa.xml deleted file mode 100644 index 0b97bc1..0000000 --- a/gdb/features/arm-fpa.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/gdb/features/arm-m-profile.xml b/gdb/features/arm-m-profile.xml deleted file mode 100644 index 7631ac6..0000000 --- a/gdb/features/arm-m-profile.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gdb/features/arm-vfpv2.xml b/gdb/features/arm-vfpv2.xml deleted file mode 100644 index 0d9a4e2..0000000 --- a/gdb/features/arm-vfpv2.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gdb/features/arm-vfpv3.xml b/gdb/features/arm-vfpv3.xml deleted file mode 100644 index 3ab77f9..0000000 --- a/gdb/features/arm-vfpv3.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gdb/features/arm-with-iwmmxt.c b/gdb/features/arm-with-iwmmxt.c deleted file mode 100644 index 1770e03..0000000 --- a/gdb/features/arm-with-iwmmxt.c +++ /dev/null @@ -1,82 +0,0 @@ -/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: - Original: arm-with-iwmmxt.xml */ - -#include "defs.h" -#include "osabi.h" -#include "target-descriptions.h" - -struct target_desc *tdesc_arm_with_iwmmxt; -static void -initialize_tdesc_arm_with_iwmmxt (void) -{ - struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - struct tdesc_type *field_type; - struct tdesc_type *type; - - set_tdesc_architecture (result, bfd_scan_arch ("iwmmxt")); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); - tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); - tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); - tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); - - feature = tdesc_create_feature (result, "org.gnu.gdb.xscale.iwmmxt"); - field_type = tdesc_named_type (feature, "uint8"); - tdesc_create_vector (feature, "iwmmxt_v8u8", field_type, 8); - - field_type = tdesc_named_type (feature, "uint16"); - tdesc_create_vector (feature, "iwmmxt_v4u16", field_type, 4); - - field_type = tdesc_named_type (feature, "uint32"); - tdesc_create_vector (feature, "iwmmxt_v2u32", field_type, 2); - - type = tdesc_create_union (feature, "iwmmxt_vec64i"); - field_type = tdesc_named_type (feature, "iwmmxt_v8u8"); - tdesc_add_field (type, "u8", field_type); - field_type = tdesc_named_type (feature, "iwmmxt_v4u16"); - tdesc_add_field (type, "u16", field_type); - field_type = tdesc_named_type (feature, "iwmmxt_v2u32"); - tdesc_add_field (type, "u32", field_type); - field_type = tdesc_named_type (feature, "uint64"); - tdesc_add_field (type, "u64", field_type); - - tdesc_create_reg (feature, "wR0", 26, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR1", 27, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR2", 28, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR3", 29, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR4", 30, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR5", 31, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR6", 32, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR7", 33, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR8", 34, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR9", 35, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR10", 36, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR11", 37, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR12", 38, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR13", 39, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR14", 40, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wR15", 41, 1, NULL, 64, "iwmmxt_vec64i"); - tdesc_create_reg (feature, "wCSSF", 42, 1, "vector", 32, "int"); - tdesc_create_reg (feature, "wCASF", 43, 1, "vector", 32, "int"); - tdesc_create_reg (feature, "wCGR0", 44, 1, "vector", 32, "int"); - tdesc_create_reg (feature, "wCGR1", 45, 1, "vector", 32, "int"); - tdesc_create_reg (feature, "wCGR2", 46, 1, "vector", 32, "int"); - tdesc_create_reg (feature, "wCGR3", 47, 1, "vector", 32, "int"); - - tdesc_arm_with_iwmmxt = result; -} diff --git a/gdb/features/arm-with-iwmmxt.xml b/gdb/features/arm-with-iwmmxt.xml deleted file mode 100644 index 2856eb5..0000000 --- a/gdb/features/arm-with-iwmmxt.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - iwmmxt - - - diff --git a/gdb/features/arm-with-m-fpa-layout.c b/gdb/features/arm-with-m-fpa-layout.c deleted file mode 100644 index f720614..0000000 --- a/gdb/features/arm-with-m-fpa-layout.c +++ /dev/null @@ -1,46 +0,0 @@ -/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: - Original: arm-with-m-fpa-layout.xml */ - -#include "defs.h" -#include "osabi.h" -#include "target-descriptions.h" - -struct target_desc *tdesc_arm_with_m_fpa_layout; -static void -initialize_tdesc_arm_with_m_fpa_layout (void) -{ - struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.m-profile"); - tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); - tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); - tdesc_create_reg (feature, "", 16, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 17, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 18, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 19, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 20, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 21, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 22, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 23, 1, NULL, 96, "arm_fpa_ext"); - tdesc_create_reg (feature, "", 24, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "xpsr", 25, 1, NULL, 32, "int"); - - tdesc_arm_with_m_fpa_layout = result; -} diff --git a/gdb/features/arm-with-m-fpa-layout.xml b/gdb/features/arm-with-m-fpa-layout.xml deleted file mode 100644 index 76502de..0000000 --- a/gdb/features/arm-with-m-fpa-layout.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - -arm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gdb/features/arm-with-m-vfp-d16.c b/gdb/features/arm-with-m-vfp-d16.c deleted file mode 100644 index 069baac..0000000 --- a/gdb/features/arm-with-m-vfp-d16.c +++ /dev/null @@ -1,56 +0,0 @@ -/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: - Original: arm-with-m-vfp-d16.xml */ - -#include "defs.h" -#include "osabi.h" -#include "target-descriptions.h" - -struct target_desc *tdesc_arm_with_m_vfp_d16; -static void -initialize_tdesc_arm_with_m_vfp_d16 (void) -{ - struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.m-profile"); - tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); - tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); - tdesc_create_reg (feature, "xpsr", 25, 1, NULL, 32, "int"); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); - tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "fpscr", 42, 1, "float", 32, "int"); - - tdesc_arm_with_m_vfp_d16 = result; -} diff --git a/gdb/features/arm-with-m-vfp-d16.xml b/gdb/features/arm-with-m-vfp-d16.xml deleted file mode 100644 index 581a28f..0000000 --- a/gdb/features/arm-with-m-vfp-d16.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - arm - - - - diff --git a/gdb/features/arm-with-m.c b/gdb/features/arm-with-m.c deleted file mode 100644 index 64d31bb..0000000 --- a/gdb/features/arm-with-m.c +++ /dev/null @@ -1,37 +0,0 @@ -/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: - Original: arm-with-m.xml */ - -#include "defs.h" -#include "osabi.h" -#include "target-descriptions.h" - -struct target_desc *tdesc_arm_with_m; -static void -initialize_tdesc_arm_with_m (void) -{ - struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.m-profile"); - tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); - tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); - tdesc_create_reg (feature, "xpsr", 25, 1, NULL, 32, "int"); - - tdesc_arm_with_m = result; -} diff --git a/gdb/features/arm-with-m.xml b/gdb/features/arm-with-m.xml deleted file mode 100644 index 2fad944..0000000 --- a/gdb/features/arm-with-m.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - arm - - diff --git a/gdb/features/arm-with-neon.c b/gdb/features/arm-with-neon.c deleted file mode 100644 index d365c0f..0000000 --- a/gdb/features/arm-with-neon.c +++ /dev/null @@ -1,74 +0,0 @@ -/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: - Original: arm-with-neon.xml */ - -#include "defs.h" -#include "osabi.h" -#include "target-descriptions.h" - -struct target_desc *tdesc_arm_with_neon; -static void -initialize_tdesc_arm_with_neon (void) -{ - struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); - tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); - tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); - tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); - tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d16", 42, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d17", 43, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d18", 44, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d19", 45, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d20", 46, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d21", 47, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d22", 48, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d23", 49, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d24", 50, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d25", 51, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d26", 52, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d27", 53, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d28", 54, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d29", 55, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d30", 56, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d31", 57, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "fpscr", 58, 1, "float", 32, "int"); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.neon"); - - tdesc_arm_with_neon = result; -} diff --git a/gdb/features/arm-with-neon.xml b/gdb/features/arm-with-neon.xml deleted file mode 100644 index 7045b02..0000000 --- a/gdb/features/arm-with-neon.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - arm - - - - diff --git a/gdb/features/arm-with-vfpv2.c b/gdb/features/arm-with-vfpv2.c deleted file mode 100644 index 0ebbfef..0000000 --- a/gdb/features/arm-with-vfpv2.c +++ /dev/null @@ -1,56 +0,0 @@ -/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: - Original: arm-with-vfpv2.xml */ - -#include "defs.h" -#include "osabi.h" -#include "target-descriptions.h" - -struct target_desc *tdesc_arm_with_vfpv2; -static void -initialize_tdesc_arm_with_vfpv2 (void) -{ - struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); - tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); - tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); - tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); - tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "fpscr", 42, 1, "float", 32, "int"); - - tdesc_arm_with_vfpv2 = result; -} diff --git a/gdb/features/arm-with-vfpv2.xml b/gdb/features/arm-with-vfpv2.xml deleted file mode 100644 index f9dc84f..0000000 --- a/gdb/features/arm-with-vfpv2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - arm - - - diff --git a/gdb/features/arm-with-vfpv3.c b/gdb/features/arm-with-vfpv3.c deleted file mode 100644 index e235dfa..0000000 --- a/gdb/features/arm-with-vfpv3.c +++ /dev/null @@ -1,72 +0,0 @@ -/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: - Original: arm-with-vfpv3.xml */ - -#include "defs.h" -#include "osabi.h" -#include "target-descriptions.h" - -struct target_desc *tdesc_arm_with_vfpv3; -static void -initialize_tdesc_arm_with_vfpv3 (void) -{ - struct target_desc *result = allocate_target_description (); - struct tdesc_feature *feature; - - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); - tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); - tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); - tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); - tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); - tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); - - feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); - tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d16", 42, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d17", 43, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d18", 44, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d19", 45, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d20", 46, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d21", 47, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d22", 48, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d23", 49, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d24", 50, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d25", 51, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d26", 52, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d27", 53, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d28", 54, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d29", 55, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d30", 56, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "d31", 57, 1, NULL, 64, "ieee_double"); - tdesc_create_reg (feature, "fpscr", 58, 1, "float", 32, "int"); - - tdesc_arm_with_vfpv3 = result; -} diff --git a/gdb/features/arm-with-vfpv3.xml b/gdb/features/arm-with-vfpv3.xml deleted file mode 100644 index 12ccb4a..0000000 --- a/gdb/features/arm-with-vfpv3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - arm - - - diff --git a/gdb/features/arm/arm-core.xml b/gdb/features/arm/arm-core.xml new file mode 100644 index 0000000..f7f1a1d --- /dev/null +++ b/gdb/features/arm/arm-core.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/features/arm/arm-fpa.xml b/gdb/features/arm/arm-fpa.xml new file mode 100644 index 0000000..0b97bc1 --- /dev/null +++ b/gdb/features/arm/arm-fpa.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + diff --git a/gdb/features/arm/arm-m-profile.xml b/gdb/features/arm/arm-m-profile.xml new file mode 100644 index 0000000..7631ac6 --- /dev/null +++ b/gdb/features/arm/arm-m-profile.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/features/arm/arm-vfpv2.xml b/gdb/features/arm/arm-vfpv2.xml new file mode 100644 index 0000000..0d9a4e2 --- /dev/null +++ b/gdb/features/arm/arm-vfpv2.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/features/arm/arm-vfpv3.xml b/gdb/features/arm/arm-vfpv3.xml new file mode 100644 index 0000000..3ab77f9 --- /dev/null +++ b/gdb/features/arm/arm-vfpv3.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/features/arm/arm-with-iwmmxt.c b/gdb/features/arm/arm-with-iwmmxt.c new file mode 100644 index 0000000..1770e03 --- /dev/null +++ b/gdb/features/arm/arm-with-iwmmxt.c @@ -0,0 +1,82 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-iwmmxt.xml */ + +#include "defs.h" +#include "osabi.h" +#include "target-descriptions.h" + +struct target_desc *tdesc_arm_with_iwmmxt; +static void +initialize_tdesc_arm_with_iwmmxt (void) +{ + struct target_desc *result = allocate_target_description (); + struct tdesc_feature *feature; + struct tdesc_type *field_type; + struct tdesc_type *type; + + set_tdesc_architecture (result, bfd_scan_arch ("iwmmxt")); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); + tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); + tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); + tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); + + feature = tdesc_create_feature (result, "org.gnu.gdb.xscale.iwmmxt"); + field_type = tdesc_named_type (feature, "uint8"); + tdesc_create_vector (feature, "iwmmxt_v8u8", field_type, 8); + + field_type = tdesc_named_type (feature, "uint16"); + tdesc_create_vector (feature, "iwmmxt_v4u16", field_type, 4); + + field_type = tdesc_named_type (feature, "uint32"); + tdesc_create_vector (feature, "iwmmxt_v2u32", field_type, 2); + + type = tdesc_create_union (feature, "iwmmxt_vec64i"); + field_type = tdesc_named_type (feature, "iwmmxt_v8u8"); + tdesc_add_field (type, "u8", field_type); + field_type = tdesc_named_type (feature, "iwmmxt_v4u16"); + tdesc_add_field (type, "u16", field_type); + field_type = tdesc_named_type (feature, "iwmmxt_v2u32"); + tdesc_add_field (type, "u32", field_type); + field_type = tdesc_named_type (feature, "uint64"); + tdesc_add_field (type, "u64", field_type); + + tdesc_create_reg (feature, "wR0", 26, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR1", 27, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR2", 28, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR3", 29, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR4", 30, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR5", 31, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR6", 32, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR7", 33, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR8", 34, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR9", 35, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR10", 36, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR11", 37, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR12", 38, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR13", 39, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR14", 40, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wR15", 41, 1, NULL, 64, "iwmmxt_vec64i"); + tdesc_create_reg (feature, "wCSSF", 42, 1, "vector", 32, "int"); + tdesc_create_reg (feature, "wCASF", 43, 1, "vector", 32, "int"); + tdesc_create_reg (feature, "wCGR0", 44, 1, "vector", 32, "int"); + tdesc_create_reg (feature, "wCGR1", 45, 1, "vector", 32, "int"); + tdesc_create_reg (feature, "wCGR2", 46, 1, "vector", 32, "int"); + tdesc_create_reg (feature, "wCGR3", 47, 1, "vector", 32, "int"); + + tdesc_arm_with_iwmmxt = result; +} diff --git a/gdb/features/arm/arm-with-iwmmxt.xml b/gdb/features/arm/arm-with-iwmmxt.xml new file mode 100644 index 0000000..2856eb5 --- /dev/null +++ b/gdb/features/arm/arm-with-iwmmxt.xml @@ -0,0 +1,13 @@ + + + + + + iwmmxt + + + diff --git a/gdb/features/arm/arm-with-m-fpa-layout.c b/gdb/features/arm/arm-with-m-fpa-layout.c new file mode 100644 index 0000000..f720614 --- /dev/null +++ b/gdb/features/arm/arm-with-m-fpa-layout.c @@ -0,0 +1,46 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-m-fpa-layout.xml */ + +#include "defs.h" +#include "osabi.h" +#include "target-descriptions.h" + +struct target_desc *tdesc_arm_with_m_fpa_layout; +static void +initialize_tdesc_arm_with_m_fpa_layout (void) +{ + struct target_desc *result = allocate_target_description (); + struct tdesc_feature *feature; + + set_tdesc_architecture (result, bfd_scan_arch ("arm")); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.m-profile"); + tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); + tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); + tdesc_create_reg (feature, "", 16, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 17, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 18, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 19, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 20, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 21, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 22, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 23, 1, NULL, 96, "arm_fpa_ext"); + tdesc_create_reg (feature, "", 24, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "xpsr", 25, 1, NULL, 32, "int"); + + tdesc_arm_with_m_fpa_layout = result; +} diff --git a/gdb/features/arm/arm-with-m-fpa-layout.xml b/gdb/features/arm/arm-with-m-fpa-layout.xml new file mode 100644 index 0000000..76502de --- /dev/null +++ b/gdb/features/arm/arm-with-m-fpa-layout.xml @@ -0,0 +1,46 @@ + + + + + + + +arm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/features/arm/arm-with-m-vfp-d16.c b/gdb/features/arm/arm-with-m-vfp-d16.c new file mode 100644 index 0000000..069baac --- /dev/null +++ b/gdb/features/arm/arm-with-m-vfp-d16.c @@ -0,0 +1,56 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-m-vfp-d16.xml */ + +#include "defs.h" +#include "osabi.h" +#include "target-descriptions.h" + +struct target_desc *tdesc_arm_with_m_vfp_d16; +static void +initialize_tdesc_arm_with_m_vfp_d16 (void) +{ + struct target_desc *result = allocate_target_description (); + struct tdesc_feature *feature; + + set_tdesc_architecture (result, bfd_scan_arch ("arm")); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.m-profile"); + tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); + tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); + tdesc_create_reg (feature, "xpsr", 25, 1, NULL, 32, "int"); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); + tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "fpscr", 42, 1, "float", 32, "int"); + + tdesc_arm_with_m_vfp_d16 = result; +} diff --git a/gdb/features/arm/arm-with-m-vfp-d16.xml b/gdb/features/arm/arm-with-m-vfp-d16.xml new file mode 100644 index 0000000..581a28f --- /dev/null +++ b/gdb/features/arm/arm-with-m-vfp-d16.xml @@ -0,0 +1,14 @@ + + + + + + arm + + + + diff --git a/gdb/features/arm/arm-with-m.c b/gdb/features/arm/arm-with-m.c new file mode 100644 index 0000000..64d31bb --- /dev/null +++ b/gdb/features/arm/arm-with-m.c @@ -0,0 +1,37 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-m.xml */ + +#include "defs.h" +#include "osabi.h" +#include "target-descriptions.h" + +struct target_desc *tdesc_arm_with_m; +static void +initialize_tdesc_arm_with_m (void) +{ + struct target_desc *result = allocate_target_description (); + struct tdesc_feature *feature; + + set_tdesc_architecture (result, bfd_scan_arch ("arm")); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.m-profile"); + tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); + tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); + tdesc_create_reg (feature, "xpsr", 25, 1, NULL, 32, "int"); + + tdesc_arm_with_m = result; +} diff --git a/gdb/features/arm/arm-with-m.xml b/gdb/features/arm/arm-with-m.xml new file mode 100644 index 0000000..2fad944 --- /dev/null +++ b/gdb/features/arm/arm-with-m.xml @@ -0,0 +1,12 @@ + + + + + + arm + + diff --git a/gdb/features/arm/arm-with-neon.c b/gdb/features/arm/arm-with-neon.c new file mode 100644 index 0000000..d365c0f --- /dev/null +++ b/gdb/features/arm/arm-with-neon.c @@ -0,0 +1,74 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-neon.xml */ + +#include "defs.h" +#include "osabi.h" +#include "target-descriptions.h" + +struct target_desc *tdesc_arm_with_neon; +static void +initialize_tdesc_arm_with_neon (void) +{ + struct target_desc *result = allocate_target_description (); + struct tdesc_feature *feature; + + set_tdesc_architecture (result, bfd_scan_arch ("arm")); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); + tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); + tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); + tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); + tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d16", 42, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d17", 43, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d18", 44, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d19", 45, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d20", 46, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d21", 47, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d22", 48, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d23", 49, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d24", 50, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d25", 51, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d26", 52, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d27", 53, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d28", 54, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d29", 55, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d30", 56, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d31", 57, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "fpscr", 58, 1, "float", 32, "int"); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.neon"); + + tdesc_arm_with_neon = result; +} diff --git a/gdb/features/arm/arm-with-neon.xml b/gdb/features/arm/arm-with-neon.xml new file mode 100644 index 0000000..7045b02 --- /dev/null +++ b/gdb/features/arm/arm-with-neon.xml @@ -0,0 +1,14 @@ + + + + + + arm + + + + diff --git a/gdb/features/arm/arm-with-vfpv2.c b/gdb/features/arm/arm-with-vfpv2.c new file mode 100644 index 0000000..0ebbfef --- /dev/null +++ b/gdb/features/arm/arm-with-vfpv2.c @@ -0,0 +1,56 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-vfpv2.xml */ + +#include "defs.h" +#include "osabi.h" +#include "target-descriptions.h" + +struct target_desc *tdesc_arm_with_vfpv2; +static void +initialize_tdesc_arm_with_vfpv2 (void) +{ + struct target_desc *result = allocate_target_description (); + struct tdesc_feature *feature; + + set_tdesc_architecture (result, bfd_scan_arch ("arm")); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); + tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); + tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); + tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); + tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "fpscr", 42, 1, "float", 32, "int"); + + tdesc_arm_with_vfpv2 = result; +} diff --git a/gdb/features/arm/arm-with-vfpv2.xml b/gdb/features/arm/arm-with-vfpv2.xml new file mode 100644 index 0000000..f9dc84f --- /dev/null +++ b/gdb/features/arm/arm-with-vfpv2.xml @@ -0,0 +1,13 @@ + + + + + + arm + + + diff --git a/gdb/features/arm/arm-with-vfpv3.c b/gdb/features/arm/arm-with-vfpv3.c new file mode 100644 index 0000000..e235dfa --- /dev/null +++ b/gdb/features/arm/arm-with-vfpv3.c @@ -0,0 +1,72 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-vfpv3.xml */ + +#include "defs.h" +#include "osabi.h" +#include "target-descriptions.h" + +struct target_desc *tdesc_arm_with_vfpv3; +static void +initialize_tdesc_arm_with_vfpv3 (void) +{ + struct target_desc *result = allocate_target_description (); + struct tdesc_feature *feature; + + set_tdesc_architecture (result, bfd_scan_arch ("arm")); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); + tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32"); + tdesc_create_reg (feature, "sp", 13, 1, NULL, 32, "data_ptr"); + tdesc_create_reg (feature, "lr", 14, 1, NULL, 32, "int"); + tdesc_create_reg (feature, "pc", 15, 1, NULL, 32, "code_ptr"); + tdesc_create_reg (feature, "cpsr", 25, 1, NULL, 32, "int"); + + feature = tdesc_create_feature (result, "org.gnu.gdb.arm.vfp"); + tdesc_create_reg (feature, "d0", 26, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d1", 27, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d2", 28, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d3", 29, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d4", 30, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d5", 31, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d6", 32, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d7", 33, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d8", 34, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d9", 35, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d10", 36, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d11", 37, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d12", 38, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d13", 39, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d14", 40, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d15", 41, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d16", 42, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d17", 43, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d18", 44, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d19", 45, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d20", 46, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d21", 47, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d22", 48, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d23", 49, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d24", 50, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d25", 51, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d26", 52, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d27", 53, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d28", 54, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d29", 55, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d30", 56, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "d31", 57, 1, NULL, 64, "ieee_double"); + tdesc_create_reg (feature, "fpscr", 58, 1, "float", 32, "int"); + + tdesc_arm_with_vfpv3 = result; +} diff --git a/gdb/features/arm/arm-with-vfpv3.xml b/gdb/features/arm/arm-with-vfpv3.xml new file mode 100644 index 0000000..12ccb4a --- /dev/null +++ b/gdb/features/arm/arm-with-vfpv3.xml @@ -0,0 +1,13 @@ + + + + + + arm + + + diff --git a/gdb/features/arm/xscale-iwmmxt.xml b/gdb/features/arm/xscale-iwmmxt.xml new file mode 100644 index 0000000..8c840e4 --- /dev/null +++ b/gdb/features/arm/xscale-iwmmxt.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gdb/features/xscale-iwmmxt.xml b/gdb/features/xscale-iwmmxt.xml deleted file mode 100644 index 8c840e4..0000000 --- a/gdb/features/xscale-iwmmxt.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5c2cca9..c530808 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,13 @@ +2016-10-05 Terry Guo + Yao Qi + + * Makefile.in: Adjust the path of rules. + * configure.srv: Update the path of xml files. + * regformats/arm-with-iwmmxt.dat: Regenerated. + * regformats/arm-with-neon.dat: Likewise. + * regformats/arm-with-vfpv2.dat: Likewise. + * regformats/arm-with-vfpv3.dat Likewise. + 2016-09-30 Yao Qi PR gdbserver/20627 diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 6d5abd3..0db5287 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -801,14 +801,14 @@ aarch64.c : $(srcdir)/../regformats/aarch64.dat $(regdat_sh) $(SHELL) $(regdat_sh) $(srcdir)/../regformats/aarch64.dat aarch64.c reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh) $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c -arm-with-iwmmxt.c : $(srcdir)/../regformats/arm-with-iwmmxt.dat $(regdat_sh) - $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-iwmmxt.dat arm-with-iwmmxt.c -arm-with-vfpv2.c : $(srcdir)/../regformats/arm-with-vfpv2.dat $(regdat_sh) - $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv2.dat arm-with-vfpv2.c -arm-with-vfpv3.c : $(srcdir)/../regformats/arm-with-vfpv3.dat $(regdat_sh) - $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-vfpv3.dat arm-with-vfpv3.c -arm-with-neon.c : $(srcdir)/../regformats/arm-with-neon.dat $(regdat_sh) - $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm-with-neon.dat arm-with-neon.c +arm-with-iwmmxt.c : $(srcdir)/../regformats/arm/arm-with-iwmmxt.dat $(regdat_sh) + $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm/arm-with-iwmmxt.dat arm-with-iwmmxt.c +arm-with-vfpv2.c : $(srcdir)/../regformats/arm/arm-with-vfpv2.dat $(regdat_sh) + $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm/arm-with-vfpv2.dat arm-with-vfpv2.c +arm-with-vfpv3.c : $(srcdir)/../regformats/arm/arm-with-vfpv3.dat $(regdat_sh) + $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm/arm-with-vfpv3.dat arm-with-vfpv3.c +arm-with-neon.c : $(srcdir)/../regformats/arm/arm-with-neon.dat $(regdat_sh) + $(SHELL) $(regdat_sh) $(srcdir)/../regformats/arm/arm-with-neon.dat arm-with-neon.c reg-bfin.c : $(srcdir)/../regformats/reg-bfin.dat $(regdat_sh) $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-bfin.dat reg-bfin.c reg-cris.c : $(srcdir)/../regformats/reg-cris.dat $(regdat_sh) diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv index 39e8392..e8712e6 100644 --- a/gdb/gdbserver/configure.srv +++ b/gdb/gdbserver/configure.srv @@ -76,14 +76,14 @@ case "${target}" in srv_tgtobj="${srv_tgtobj} arm.o" srv_tgtobj="${srv_tgtobj} arm-linux.o" srv_tgtobj="${srv_tgtobj} arm-get-next-pcs.o" - srv_xmlfiles="arm-with-iwmmxt.xml" - srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv2.xml" - srv_xmlfiles="${srv_xmlfiles} arm-with-vfpv3.xml" - srv_xmlfiles="${srv_xmlfiles} arm-with-neon.xml" - srv_xmlfiles="${srv_xmlfiles} arm-core.xml" - srv_xmlfiles="${srv_xmlfiles} xscale-iwmmxt.xml" - srv_xmlfiles="${srv_xmlfiles} arm-vfpv2.xml" - srv_xmlfiles="${srv_xmlfiles} arm-vfpv3.xml" + srv_xmlfiles="arm/arm-with-iwmmxt.xml" + srv_xmlfiles="${srv_xmlfiles} arm/arm-with-vfpv2.xml" + srv_xmlfiles="${srv_xmlfiles} arm/arm-with-vfpv3.xml" + srv_xmlfiles="${srv_xmlfiles} arm/arm-with-neon.xml" + srv_xmlfiles="${srv_xmlfiles} arm/arm-core.xml" + srv_xmlfiles="${srv_xmlfiles} arm/xscale-iwmmxt.xml" + srv_xmlfiles="${srv_xmlfiles} arm/arm-vfpv2.xml" + srv_xmlfiles="${srv_xmlfiles} arm/arm-vfpv3.xml" srv_linux_usrregs=yes srv_linux_regsets=yes srv_linux_thread_db=yes diff --git a/gdb/regformats/arm-with-iwmmxt.dat b/gdb/regformats/arm-with-iwmmxt.dat deleted file mode 100644 index 4b4679b..0000000 --- a/gdb/regformats/arm-with-iwmmxt.dat +++ /dev/null @@ -1,53 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm-with-iwmmxt.xml -name:arm_with_iwmmxt -xmltarget:arm-with-iwmmxt.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:wR0 -64:wR1 -64:wR2 -64:wR3 -64:wR4 -64:wR5 -64:wR6 -64:wR7 -64:wR8 -64:wR9 -64:wR10 -64:wR11 -64:wR12 -64:wR13 -64:wR14 -64:wR15 -32:wCSSF -32:wCASF -32:wCGR0 -32:wCGR1 -32:wCGR2 -32:wCGR3 diff --git a/gdb/regformats/arm-with-neon.dat b/gdb/regformats/arm-with-neon.dat deleted file mode 100644 index ee0ec58..0000000 --- a/gdb/regformats/arm-with-neon.dat +++ /dev/null @@ -1,64 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm-with-neon.xml -name:arm_with_neon -xmltarget:arm-with-neon.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:d0 -64:d1 -64:d2 -64:d3 -64:d4 -64:d5 -64:d6 -64:d7 -64:d8 -64:d9 -64:d10 -64:d11 -64:d12 -64:d13 -64:d14 -64:d15 -64:d16 -64:d17 -64:d18 -64:d19 -64:d20 -64:d21 -64:d22 -64:d23 -64:d24 -64:d25 -64:d26 -64:d27 -64:d28 -64:d29 -64:d30 -64:d31 -32:fpscr diff --git a/gdb/regformats/arm-with-vfpv2.dat b/gdb/regformats/arm-with-vfpv2.dat deleted file mode 100644 index 9486c19..0000000 --- a/gdb/regformats/arm-with-vfpv2.dat +++ /dev/null @@ -1,48 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm-with-vfpv2.xml -name:arm_with_vfpv2 -xmltarget:arm-with-vfpv2.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:d0 -64:d1 -64:d2 -64:d3 -64:d4 -64:d5 -64:d6 -64:d7 -64:d8 -64:d9 -64:d10 -64:d11 -64:d12 -64:d13 -64:d14 -64:d15 -32:fpscr diff --git a/gdb/regformats/arm-with-vfpv3.dat b/gdb/regformats/arm-with-vfpv3.dat deleted file mode 100644 index 236da09..0000000 --- a/gdb/regformats/arm-with-vfpv3.dat +++ /dev/null @@ -1,64 +0,0 @@ -# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: -# Generated from: arm-with-vfpv3.xml -name:arm_with_vfpv3 -xmltarget:arm-with-vfpv3.xml -expedite:r11,sp,pc -32:r0 -32:r1 -32:r2 -32:r3 -32:r4 -32:r5 -32:r6 -32:r7 -32:r8 -32:r9 -32:r10 -32:r11 -32:r12 -32:sp -32:lr -32:pc -0: -0: -0: -0: -0: -0: -0: -0: -0: -32:cpsr -64:d0 -64:d1 -64:d2 -64:d3 -64:d4 -64:d5 -64:d6 -64:d7 -64:d8 -64:d9 -64:d10 -64:d11 -64:d12 -64:d13 -64:d14 -64:d15 -64:d16 -64:d17 -64:d18 -64:d19 -64:d20 -64:d21 -64:d22 -64:d23 -64:d24 -64:d25 -64:d26 -64:d27 -64:d28 -64:d29 -64:d30 -64:d31 -32:fpscr diff --git a/gdb/regformats/arm/arm-with-iwmmxt.dat b/gdb/regformats/arm/arm-with-iwmmxt.dat new file mode 100644 index 0000000..f529c2c --- /dev/null +++ b/gdb/regformats/arm/arm-with-iwmmxt.dat @@ -0,0 +1,53 @@ +# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: +# Generated from: arm/arm-with-iwmmxt.xml +name:arm_with_iwmmxt +xmltarget:arm-with-iwmmxt.xml +expedite:r11,sp,pc +32:r0 +32:r1 +32:r2 +32:r3 +32:r4 +32:r5 +32:r6 +32:r7 +32:r8 +32:r9 +32:r10 +32:r11 +32:r12 +32:sp +32:lr +32:pc +0: +0: +0: +0: +0: +0: +0: +0: +0: +32:cpsr +64:wR0 +64:wR1 +64:wR2 +64:wR3 +64:wR4 +64:wR5 +64:wR6 +64:wR7 +64:wR8 +64:wR9 +64:wR10 +64:wR11 +64:wR12 +64:wR13 +64:wR14 +64:wR15 +32:wCSSF +32:wCASF +32:wCGR0 +32:wCGR1 +32:wCGR2 +32:wCGR3 diff --git a/gdb/regformats/arm/arm-with-neon.dat b/gdb/regformats/arm/arm-with-neon.dat new file mode 100644 index 0000000..2e6cb85 --- /dev/null +++ b/gdb/regformats/arm/arm-with-neon.dat @@ -0,0 +1,64 @@ +# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: +# Generated from: arm/arm-with-neon.xml +name:arm_with_neon +xmltarget:arm-with-neon.xml +expedite:r11,sp,pc +32:r0 +32:r1 +32:r2 +32:r3 +32:r4 +32:r5 +32:r6 +32:r7 +32:r8 +32:r9 +32:r10 +32:r11 +32:r12 +32:sp +32:lr +32:pc +0: +0: +0: +0: +0: +0: +0: +0: +0: +32:cpsr +64:d0 +64:d1 +64:d2 +64:d3 +64:d4 +64:d5 +64:d6 +64:d7 +64:d8 +64:d9 +64:d10 +64:d11 +64:d12 +64:d13 +64:d14 +64:d15 +64:d16 +64:d17 +64:d18 +64:d19 +64:d20 +64:d21 +64:d22 +64:d23 +64:d24 +64:d25 +64:d26 +64:d27 +64:d28 +64:d29 +64:d30 +64:d31 +32:fpscr diff --git a/gdb/regformats/arm/arm-with-vfpv2.dat b/gdb/regformats/arm/arm-with-vfpv2.dat new file mode 100644 index 0000000..aa71f85 --- /dev/null +++ b/gdb/regformats/arm/arm-with-vfpv2.dat @@ -0,0 +1,48 @@ +# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: +# Generated from: arm/arm-with-vfpv2.xml +name:arm_with_vfpv2 +xmltarget:arm-with-vfpv2.xml +expedite:r11,sp,pc +32:r0 +32:r1 +32:r2 +32:r3 +32:r4 +32:r5 +32:r6 +32:r7 +32:r8 +32:r9 +32:r10 +32:r11 +32:r12 +32:sp +32:lr +32:pc +0: +0: +0: +0: +0: +0: +0: +0: +0: +32:cpsr +64:d0 +64:d1 +64:d2 +64:d3 +64:d4 +64:d5 +64:d6 +64:d7 +64:d8 +64:d9 +64:d10 +64:d11 +64:d12 +64:d13 +64:d14 +64:d15 +32:fpscr diff --git a/gdb/regformats/arm/arm-with-vfpv3.dat b/gdb/regformats/arm/arm-with-vfpv3.dat new file mode 100644 index 0000000..6fec4fd --- /dev/null +++ b/gdb/regformats/arm/arm-with-vfpv3.dat @@ -0,0 +1,64 @@ +# THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi :set ro: +# Generated from: arm/arm-with-vfpv3.xml +name:arm_with_vfpv3 +xmltarget:arm-with-vfpv3.xml +expedite:r11,sp,pc +32:r0 +32:r1 +32:r2 +32:r3 +32:r4 +32:r5 +32:r6 +32:r7 +32:r8 +32:r9 +32:r10 +32:r11 +32:r12 +32:sp +32:lr +32:pc +0: +0: +0: +0: +0: +0: +0: +0: +0: +32:cpsr +64:d0 +64:d1 +64:d2 +64:d3 +64:d4 +64:d5 +64:d6 +64:d7 +64:d8 +64:d9 +64:d10 +64:d11 +64:d12 +64:d13 +64:d14 +64:d15 +64:d16 +64:d17 +64:d18 +64:d19 +64:d20 +64:d21 +64:d22 +64:d23 +64:d24 +64:d25 +64:d26 +64:d27 +64:d28 +64:d29 +64:d30 +64:d31 +32:fpscr -- cgit v1.1