From 8ab03ccb0429ae3a5e5e0b0a8b00491d9260fff9 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Mon, 20 Dec 2010 06:09:23 +0000 Subject: [PATCH] 2010-12-20 Yao Qi * features/arm-core.xml: Add attribute type to reg from r0 to r12. * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-neon.c: Regenerate. * features/arm-with-vfpv2.c: Regenerate. * features/arm-with-vfpv3.c: Regenerate. --- gdb/ChangeLog | 8 ++++++++ gdb/features/arm-with-iwmmxt.c | 27 ++++++++++++++------------- gdb/features/arm-with-neon.c | 30 +++++++++++++++--------------- gdb/features/arm-with-vfpv2.c | 30 +++++++++++++++--------------- gdb/features/arm-with-vfpv3.c | 30 +++++++++++++++--------------- 5 files changed, 67 insertions(+), 58 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b9ccc1c4a95..e2f996b7a75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2010-12-20 Yao Qi + + * features/arm-core.xml: Add attribute type to reg from r0 to r12. + * features/arm-with-iwmmxt.c: Regenerate. + * features/arm-with-neon.c: Regenerate. + * features/arm-with-vfpv2.c: Regenerate. + * features/arm-with-vfpv3.c: Regenerate. + 2010-12-17 Marc Khouzam * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior. diff --git a/gdb/features/arm-with-iwmmxt.c b/gdb/features/arm-with-iwmmxt.c index 71bd364d094..f3918bb8c99 100644 --- a/gdb/features/arm-with-iwmmxt.c +++ b/gdb/features/arm-with-iwmmxt.c @@ -1,6 +1,7 @@ /* THIS FILE IS GENERATED. Original: arm-with-iwmmxt.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_arm_with_iwmmxt; @@ -14,19 +15,19 @@ initialize_tdesc_arm_with_iwmmxt (void) 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, "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, "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, "data_ptr"); + 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"); diff --git a/gdb/features/arm-with-neon.c b/gdb/features/arm-with-neon.c index d669d08b05b..c1eeb0bdf32 100644 --- a/gdb/features/arm-with-neon.c +++ b/gdb/features/arm-with-neon.c @@ -1,7 +1,7 @@ /* THIS FILE IS GENERATED. Original: arm-with-neon.xml */ #include "defs.h" -#include "gdbtypes.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_arm_with_neon; @@ -10,22 +10,22 @@ initialize_tdesc_arm_with_neon (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct type *field_type, *type; + struct tdesc_type *field_type, *type; feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); - 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, "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"); diff --git a/gdb/features/arm-with-vfpv2.c b/gdb/features/arm-with-vfpv2.c index 687e1405715..ad872f8469d 100644 --- a/gdb/features/arm-with-vfpv2.c +++ b/gdb/features/arm-with-vfpv2.c @@ -1,7 +1,7 @@ /* THIS FILE IS GENERATED. Original: arm-with-vfpv2.xml */ #include "defs.h" -#include "gdbtypes.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_arm_with_vfpv2; @@ -10,22 +10,22 @@ initialize_tdesc_arm_with_vfpv2 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct type *field_type, *type; + struct tdesc_type *field_type, *type; feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); - 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, "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"); diff --git a/gdb/features/arm-with-vfpv3.c b/gdb/features/arm-with-vfpv3.c index efb851d6df1..2d5b5a82d69 100644 --- a/gdb/features/arm-with-vfpv3.c +++ b/gdb/features/arm-with-vfpv3.c @@ -1,7 +1,7 @@ /* THIS FILE IS GENERATED. Original: arm-with-vfpv3.xml */ #include "defs.h" -#include "gdbtypes.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_arm_with_vfpv3; @@ -10,22 +10,22 @@ initialize_tdesc_arm_with_vfpv3 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct type *field_type, *type; + struct tdesc_type *field_type, *type; feature = tdesc_create_feature (result, "org.gnu.gdb.arm.core"); - 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, "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"); -- 2.30.2