diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-07-19 15:06:38 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-07-19 15:43:55 +0100 |
commit | 4c5aa8e0b1b4439f73ef1f82344e408b989f85df (patch) | |
tree | adc9cdec201b70d3e7bdac59dea90d276a108d50 /gdb/features/arm | |
parent | 7cc17433020a62935e4d91053251fe900d83c7f0 (diff) | |
download | gdb-4c5aa8e0b1b4439f73ef1f82344e408b989f85df.zip gdb-4c5aa8e0b1b4439f73ef1f82344e408b989f85df.tar.gz gdb-4c5aa8e0b1b4439f73ef1f82344e408b989f85df.tar.bz2 |
Arm: Remove unused feature files and tests
Remove the xml tests. Now that it has been proven the new descriptions
are identical, there is no need to keep testing that. Also, it would
prevent the old xml files from being removed.
Remove the old xml files from gdbserver and delete them.
gdb/ChangeLog:
* arm-tdep.c (_initialize_arm_tdep): Remove xml tests.
* features/arm/arm-with-iwmmxt.c: Remove.
* features/arm/arm-with-iwmmxt.xml: Remove.
* features/arm/arm-with-m-fpa-layout.c: Remove.
* features/arm/arm-with-m-fpa-layout.xml: Remove.
* features/arm/arm-with-m-vfp-d16.c: Remove.
* features/arm/arm-with-m-vfp-d16.xml: Remove.
* features/arm/arm-with-m.c: Remove.
* features/arm/arm-with-m.xml: Remove.
* features/arm/arm-with-neon.c: Remove.
* features/arm/arm-with-neon.xml: Remove.
* features/arm/arm-with-vfpv2.c: Remove.
* features/arm/arm-with-vfpv2.xml: Remove.
* features/arm/arm-with-vfpv3.c: Remove.
* features/arm/arm-with-vfpv3.xml: Remove.
gdb/gdbserver/ChangeLog:
2019-07-05 Alan Hayward <alan.hayward@arm.com>
* configure.srv: Remove Arm xml files.
Diffstat (limited to 'gdb/features/arm')
-rw-r--r-- | gdb/features/arm/arm-with-iwmmxt.c | 83 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-iwmmxt.xml | 13 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-m-fpa-layout.c | 46 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-m-fpa-layout.xml | 46 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-m-vfp-d16.c | 56 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-m-vfp-d16.xml | 14 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-m.c | 37 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-m.xml | 12 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-neon.c | 74 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-neon.xml | 14 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-vfpv2.c | 56 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-vfpv2.xml | 13 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-vfpv3.c | 72 | ||||
-rw-r--r-- | gdb/features/arm/arm-with-vfpv3.xml | 13 |
14 files changed, 0 insertions, 549 deletions
diff --git a/gdb/features/arm/arm-with-iwmmxt.c b/gdb/features/arm/arm-with-iwmmxt.c deleted file mode 100644 index 8729285..0000000 --- a/gdb/features/arm/arm-with-iwmmxt.c +++ /dev/null @@ -1,83 +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 (); - set_tdesc_architecture (result, bfd_scan_arch ("iwmmxt")); - - struct tdesc_feature *feature; - - 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"); - tdesc_type *element_type; - element_type = tdesc_named_type (feature, "uint8"); - tdesc_create_vector (feature, "iwmmxt_v8u8", element_type, 8); - - element_type = tdesc_named_type (feature, "uint16"); - tdesc_create_vector (feature, "iwmmxt_v4u16", element_type, 4); - - element_type = tdesc_named_type (feature, "uint32"); - tdesc_create_vector (feature, "iwmmxt_v2u32", element_type, 2); - - tdesc_type_with_fields *type_with_fields; - type_with_fields = tdesc_create_union (feature, "iwmmxt_vec64i"); - tdesc_type *field_type; - field_type = tdesc_named_type (feature, "iwmmxt_v8u8"); - tdesc_add_field (type_with_fields, "u8", field_type); - field_type = tdesc_named_type (feature, "iwmmxt_v4u16"); - tdesc_add_field (type_with_fields, "u16", field_type); - field_type = tdesc_named_type (feature, "iwmmxt_v2u32"); - tdesc_add_field (type_with_fields, "u32", field_type); - field_type = tdesc_named_type (feature, "uint64"); - tdesc_add_field (type_with_fields, "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 deleted file mode 100644 index 9455cb5..0000000 --- a/gdb/features/arm/arm-with-iwmmxt.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2007-2019 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!DOCTYPE target SYSTEM "gdb-target.dtd"> -<target> - <architecture>iwmmxt</architecture> - <xi:include href="arm-core.xml"/> - <xi:include href="xscale-iwmmxt.xml"/> -</target> diff --git a/gdb/features/arm/arm-with-m-fpa-layout.c b/gdb/features/arm/arm-with-m-fpa-layout.c deleted file mode 100644 index 99bebc3..0000000 --- a/gdb/features/arm/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 (); - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - struct tdesc_feature *feature; - - 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 deleted file mode 100644 index 445fbb1..0000000 --- a/gdb/features/arm/arm-with-m-fpa-layout.xml +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2007-2019 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!-- A target description for an M-profile device, for stubs that - transfer registers using the historical fpa layout. --> - -<!DOCTYPE target SYSTEM "gdb-target.dtd"> -<target> -<architecture>arm</architecture> -<feature name="org.gnu.gdb.arm.m-profile"> - <reg name="r0" bitsize="32"/> - <reg name="r1" bitsize="32"/> - <reg name="r2" bitsize="32"/> - <reg name="r3" bitsize="32"/> - <reg name="r4" bitsize="32"/> - <reg name="r5" bitsize="32"/> - <reg name="r6" bitsize="32"/> - <reg name="r7" bitsize="32"/> - <reg name="r8" bitsize="32"/> - <reg name="r9" bitsize="32"/> - <reg name="r10" bitsize="32"/> - <reg name="r11" bitsize="32"/> - <reg name="r12" bitsize="32"/> - <reg name="sp" bitsize="32" type="data_ptr"/> - <reg name="lr" bitsize="32"/> - <reg name="pc" bitsize="32" type="code_ptr"/> - - <!-- Slack for unused FPA registers (f0-f7 + fps). - See arm-fpa.xml. --> - <reg name="" bitsize="96" type="arm_fpa_ext" regnum="16"/> - <reg name="" bitsize="96" type="arm_fpa_ext"/> - <reg name="" bitsize="96" type="arm_fpa_ext"/> - <reg name="" bitsize="96" type="arm_fpa_ext"/> - <reg name="" bitsize="96" type="arm_fpa_ext"/> - <reg name="" bitsize="96" type="arm_fpa_ext"/> - <reg name="" bitsize="96" type="arm_fpa_ext"/> - <reg name="" bitsize="96" type="arm_fpa_ext"/> - <reg name="" bitsize="32"/> - - <reg name="xpsr" bitsize="32" regnum="25"/> -</feature> -</target> diff --git a/gdb/features/arm/arm-with-m-vfp-d16.c b/gdb/features/arm/arm-with-m-vfp-d16.c deleted file mode 100644 index ab91673..0000000 --- a/gdb/features/arm/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 (); - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - struct tdesc_feature *feature; - - 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 deleted file mode 100644 index b9933a8..0000000 --- a/gdb/features/arm/arm-with-m-vfp-d16.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2010-2019 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!DOCTYPE target SYSTEM "gdb-target.dtd"> -<target> - <architecture>arm</architecture> - <xi:include href="arm-m-profile.xml"/> - <!-- Layout of vfpv4-sp-d16 is identical to vfpv2 --> - <xi:include href="arm-vfpv2.xml"/> -</target> diff --git a/gdb/features/arm/arm-with-m.c b/gdb/features/arm/arm-with-m.c deleted file mode 100644 index 619fd72..0000000 --- a/gdb/features/arm/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 (); - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - struct tdesc_feature *feature; - - 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 deleted file mode 100644 index 7ed68fa..0000000 --- a/gdb/features/arm/arm-with-m.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2010-2019 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!DOCTYPE target SYSTEM "gdb-target.dtd"> -<target> - <architecture>arm</architecture> - <xi:include href="arm-m-profile.xml"/> -</target> diff --git a/gdb/features/arm/arm-with-neon.c b/gdb/features/arm/arm-with-neon.c deleted file mode 100644 index 682ad75..0000000 --- a/gdb/features/arm/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 (); - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - struct tdesc_feature *feature; - - 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 deleted file mode 100644 index 8a9ade1..0000000 --- a/gdb/features/arm/arm-with-neon.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2009-2019 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!DOCTYPE target SYSTEM "gdb-target.dtd"> -<target> - <architecture>arm</architecture> - <xi:include href="arm-core.xml"/> - <xi:include href="arm-vfpv3.xml"/> - <feature name="org.gnu.gdb.arm.neon"/> -</target> diff --git a/gdb/features/arm/arm-with-vfpv2.c b/gdb/features/arm/arm-with-vfpv2.c deleted file mode 100644 index 368256c..0000000 --- a/gdb/features/arm/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 (); - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - struct tdesc_feature *feature; - - 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 deleted file mode 100644 index 881ac63..0000000 --- a/gdb/features/arm/arm-with-vfpv2.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2009-2019 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!DOCTYPE target SYSTEM "gdb-target.dtd"> -<target> - <architecture>arm</architecture> - <xi:include href="arm-core.xml"/> - <xi:include href="arm-vfpv2.xml"/> -</target> diff --git a/gdb/features/arm/arm-with-vfpv3.c b/gdb/features/arm/arm-with-vfpv3.c deleted file mode 100644 index ade7c95..0000000 --- a/gdb/features/arm/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 (); - set_tdesc_architecture (result, bfd_scan_arch ("arm")); - - struct tdesc_feature *feature; - - 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 deleted file mode 100644 index 45b9cda..0000000 --- a/gdb/features/arm/arm-with-vfpv3.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<!-- Copyright (C) 2009-2019 Free Software Foundation, Inc. - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. --> - -<!DOCTYPE target SYSTEM "gdb-target.dtd"> -<target> - <architecture>arm</architecture> - <xi:include href="arm-core.xml"/> - <xi:include href="arm-vfpv3.xml"/> -</target> |