diff options
81 files changed, 343 insertions, 112 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 97934fa..a89362b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,88 @@ 2012-07-27 Tom Tromey <tromey@redhat.com> + Jan Kratochvil <jan.kratochvil@redhat.com> + + * copying.awk: Print buffer-read-only and vi ro markers. + * copying.c: Rebuild. + * gdbarch.sh (copyright): Print buffer-read-only and vi ro markers. + * gdbarch.c, gdbarch.h: Rebuild. + * target-descriptions.c (maint_print_c_tdesc_cmd): Print + buffer-read-only and vi ro markers. + * features/arm-with-iwmmxt.c: Rebuild. + * features/arm-with-m-fpa-layout.c: Rebuild. + * features/arm-with-m-vfp-d16.c: Rebuild. + * features/arm-with-m.c: Rebuild. + * features/arm-with-neon.c: Rebuild. + * features/arm-with-vfpv2.c: Rebuild. + * features/arm-with-vfpv3.c: Rebuild. + * features/i386/amd64-avx-linux.c: Rebuild. + * features/i386/amd64-avx.c: Rebuild. + * features/i386/amd64-linux.c: Rebuild. + * features/i386/amd64.c: Rebuild. + * features/i386/i386-avx-linux.c: Rebuild. + * features/i386/i386-avx.c: Rebuild. + * features/i386/i386-linux.c: Rebuild. + * features/i386/i386-mmx-linux.c: Rebuild. + * features/i386/i386-mmx.c: Rebuild. + * features/i386/i386.c: Rebuild. + * features/i386/x32-avx-linux.c: Rebuild. + * features/i386/x32-avx.c: Rebuild. + * features/i386/x32-linux.c: Rebuild. + * features/i386/x32.c: Rebuild. + * features/mips-dsp-linux.c: Rebuild. + * features/mips-linux.c: Rebuild. + * features/mips64-dsp-linux.c: Rebuild. + * features/mips64-linux.c: Rebuild. + * features/rs6000/powerpc-32.c: Rebuild. + * features/rs6000/powerpc-32l.c: Rebuild. + * features/rs6000/powerpc-403.c: Rebuild. + * features/rs6000/powerpc-403gc.c: Rebuild. + * features/rs6000/powerpc-405.c: Rebuild. + * features/rs6000/powerpc-505.c: Rebuild. + * features/rs6000/powerpc-601.c: Rebuild. + * features/rs6000/powerpc-602.c: Rebuild. + * features/rs6000/powerpc-603.c: Rebuild. + * features/rs6000/powerpc-604.c: Rebuild. + * features/rs6000/powerpc-64.c: Rebuild. + * features/rs6000/powerpc-64l.c: Rebuild. + * features/rs6000/powerpc-7400.c: Rebuild. + * features/rs6000/powerpc-750.c: Rebuild. + * features/rs6000/powerpc-860.c: Rebuild. + * features/rs6000/powerpc-altivec32.c: Rebuild. + * features/rs6000/powerpc-altivec32l.c: Rebuild. + * features/rs6000/powerpc-altivec64.c: Rebuild. + * features/rs6000/powerpc-altivec64l.c: Rebuild. + * features/rs6000/powerpc-cell32l.c: Rebuild. + * features/rs6000/powerpc-cell64l.c: Rebuild. + * features/rs6000/powerpc-e500.c: Rebuild. + * features/rs6000/powerpc-e500l.c: Rebuild. + * features/rs6000/powerpc-isa205-32l.c: Rebuild. + * features/rs6000/powerpc-isa205-64l.c: Rebuild. + * features/rs6000/powerpc-isa205-altivec32l.c: Rebuild. + * features/rs6000/powerpc-isa205-altivec64l.c: Rebuild. + * features/rs6000/powerpc-isa205-vsx32l.c: Rebuild. + * features/rs6000/powerpc-isa205-vsx64l.c: Rebuild. + * features/rs6000/powerpc-vsx32.c: Rebuild. + * features/rs6000/powerpc-vsx32l.c: Rebuild. + * features/rs6000/powerpc-vsx64.c: Rebuild. + * features/rs6000/powerpc-vsx64l.c: Rebuild. + * features/rs6000/rs6000.c: Rebuild. + * features/s390-linux32.c: Rebuild. + * features/s390-linux32v1.c: Rebuild. + * features/s390-linux32v2.c: Rebuild. + * features/s390-linux64.c: Rebuild. + * features/s390-linux64v1.c: Rebuild. + * features/s390-linux64v2.c: Rebuild. + * features/s390x-linux64.c: Rebuild. + * features/s390x-linux64v1.c: Rebuild. + * features/s390x-linux64v2.c: Rebuild. + * features/tic6x-c62x-linux.c: Rebuild. + * features/tic6x-c62x.c: Rebuild. + * features/tic6x-c64x-linux.c: Rebuild. + * features/tic6x-c64x.c: Rebuild. + * features/tic6x-c64xp-linux.c: Rebuild. + * features/tic6x-c64xp.c: Rebuild. + +2012-07-27 Tom Tromey <tromey@redhat.com> * c-exp.y (classify_name): Avoid assignment in condition. diff --git a/gdb/copying.awk b/gdb/copying.awk index 00c63cd..1801997 100644 --- a/gdb/copying.awk +++ b/gdb/copying.awk @@ -1,7 +1,10 @@ BEGIN { FS="\""; - print "/* ==> Do not modify this file!! It is created automatically"; - print " by copying.awk. Modify copying.awk instead. <== */"; + print "/* ==> Do not modify this file!! " \ + "-*- buffer-read-only: t -*- vi" \ + ":set ro:"; + print " It is created automatically by copying.awk."; + print " Modify copying.awk instead. <== */"; print "" print "#include \"defs.h\"" print "#include \"command.h\"" diff --git a/gdb/copying.c b/gdb/copying.c index c71c4e5..66837b8 100644 --- a/gdb/copying.c +++ b/gdb/copying.c @@ -1,5 +1,6 @@ -/* ==> Do not modify this file!! It is created automatically - by copying.awk. Modify copying.awk instead. <== */ +/* ==> Do not modify this file!! -*- buffer-read-only: t -*- vi:set ro: + It is created automatically by copying.awk. + Modify copying.awk instead. <== */ #include "defs.h" #include "command.h" diff --git a/gdb/features/arm-with-iwmmxt.c b/gdb/features/arm-with-iwmmxt.c index d3b5fe9..1770e03 100644 --- a/gdb/features/arm-with-iwmmxt.c +++ b/gdb/features/arm-with-iwmmxt.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: arm-with-iwmmxt.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-iwmmxt.xml */ #include "defs.h" #include "osabi.h" @@ -27,7 +28,7 @@ initialize_tdesc_arm_with_iwmmxt (void) 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, "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"); diff --git a/gdb/features/arm-with-m-fpa-layout.c b/gdb/features/arm-with-m-fpa-layout.c index 6531c3d..bc51f05 100644 --- a/gdb/features/arm-with-m-fpa-layout.c +++ b/gdb/features/arm-with-m-fpa-layout.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: arm-with-m-fpa-layout.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-m-fpa-layout.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/arm-with-m-vfp-d16.c b/gdb/features/arm-with-m-vfp-d16.c index cadeaf1..a0da583 100644 --- a/gdb/features/arm-with-m-vfp-d16.c +++ b/gdb/features/arm-with-m-vfp-d16.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: arm-with-m-vfp-d16.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-m-vfp-d16.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/arm-with-m.c b/gdb/features/arm-with-m.c index 2ac3df9..8e27a80 100644 --- a/gdb/features/arm-with-m.c +++ b/gdb/features/arm-with-m.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: arm-with-m.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-m.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/arm-with-neon.c b/gdb/features/arm-with-neon.c index d7df4e9..61c9a3a 100644 --- a/gdb/features/arm-with-neon.c +++ b/gdb/features/arm-with-neon.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: arm-with-neon.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-neon.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/arm-with-vfpv2.c b/gdb/features/arm-with-vfpv2.c index 7b014cd..78e3c81 100644 --- a/gdb/features/arm-with-vfpv2.c +++ b/gdb/features/arm-with-vfpv2.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: arm-with-vfpv2.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-vfpv2.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/arm-with-vfpv3.c b/gdb/features/arm-with-vfpv3.c index f66524c..e48ca79 100644 --- a/gdb/features/arm-with-vfpv3.c +++ b/gdb/features/arm-with-vfpv3.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: arm-with-vfpv3.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: arm-with-vfpv3.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/i386/amd64-avx-linux.c b/gdb/features/i386/amd64-avx-linux.c index 73392d3..ec419be 100644 --- a/gdb/features/i386/amd64-avx-linux.c +++ b/gdb/features/i386/amd64-avx-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: amd64-avx-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: amd64-avx-linux.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_amd64_avx_linux (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x86-64")); diff --git a/gdb/features/i386/amd64-avx.c b/gdb/features/i386/amd64-avx.c index 05c60ff..926d3a5 100644 --- a/gdb/features/i386/amd64-avx.c +++ b/gdb/features/i386/amd64-avx.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: amd64-avx.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: amd64-avx.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_amd64_avx (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x86-64")); diff --git a/gdb/features/i386/amd64-linux.c b/gdb/features/i386/amd64-linux.c index 71efcbe..8cbf4bf 100644 --- a/gdb/features/i386/amd64-linux.c +++ b/gdb/features/i386/amd64-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: amd64-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: amd64-linux.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_amd64_linux (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x86-64")); diff --git a/gdb/features/i386/amd64.c b/gdb/features/i386/amd64.c index 154e8df..dd26aa9 100644 --- a/gdb/features/i386/amd64.c +++ b/gdb/features/i386/amd64.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: amd64.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: amd64.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_amd64 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x86-64")); diff --git a/gdb/features/i386/i386-avx-linux.c b/gdb/features/i386/i386-avx-linux.c index 1aa939b..312ff28 100644 --- a/gdb/features/i386/i386-avx-linux.c +++ b/gdb/features/i386/i386-avx-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: i386-avx-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: i386-avx-linux.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_i386_avx_linux (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386")); diff --git a/gdb/features/i386/i386-avx.c b/gdb/features/i386/i386-avx.c index 1e74ed5..9080111 100644 --- a/gdb/features/i386/i386-avx.c +++ b/gdb/features/i386/i386-avx.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: i386-avx.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: i386-avx.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_i386_avx (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386")); diff --git a/gdb/features/i386/i386-linux.c b/gdb/features/i386/i386-linux.c index cc1fb99..dda1705 100644 --- a/gdb/features/i386/i386-linux.c +++ b/gdb/features/i386/i386-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: i386-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: i386-linux.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_i386_linux (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386")); diff --git a/gdb/features/i386/i386-mmx-linux.c b/gdb/features/i386/i386-mmx-linux.c index 872826a..cc97b6e 100644 --- a/gdb/features/i386/i386-mmx-linux.c +++ b/gdb/features/i386/i386-mmx-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: i386-mmx-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: i386-mmx-linux.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/i386/i386-mmx.c b/gdb/features/i386/i386-mmx.c index 7ca2467..a34e8f8 100644 --- a/gdb/features/i386/i386-mmx.c +++ b/gdb/features/i386/i386-mmx.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: i386-mmx.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: i386-mmx.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/i386/i386.c b/gdb/features/i386/i386.c index 7f7beb3..b6a0ca7 100644 --- a/gdb/features/i386/i386.c +++ b/gdb/features/i386/i386.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: i386.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: i386.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_i386 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386")); diff --git a/gdb/features/i386/x32-avx-linux.c b/gdb/features/i386/x32-avx-linux.c index d2e5ce9..1f39610 100644 --- a/gdb/features/i386/x32-avx-linux.c +++ b/gdb/features/i386/x32-avx-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: x32-avx-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: x32-avx-linux.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_x32_avx_linux (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x64-32")); diff --git a/gdb/features/i386/x32-avx.c b/gdb/features/i386/x32-avx.c index 47d7305..fb7a12c 100644 --- a/gdb/features/i386/x32-avx.c +++ b/gdb/features/i386/x32-avx.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: x32-avx.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: x32-avx.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_x32_avx (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x64-32")); diff --git a/gdb/features/i386/x32-linux.c b/gdb/features/i386/x32-linux.c index b42287d..387436f 100644 --- a/gdb/features/i386/x32-linux.c +++ b/gdb/features/i386/x32-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: x32-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: x32-linux.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_x32_linux (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x64-32")); diff --git a/gdb/features/i386/x32.c b/gdb/features/i386/x32.c index 6342ddd..34e5087 100644 --- a/gdb/features/i386/x32.c +++ b/gdb/features/i386/x32.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: x32.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: x32.xml */ #include "defs.h" #include "osabi.h" @@ -10,7 +11,8 @@ initialize_tdesc_x32 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("i386:x64-32")); diff --git a/gdb/features/mips-dsp-linux.c b/gdb/features/mips-dsp-linux.c index 20e4ee3..80ceb22 100644 --- a/gdb/features/mips-dsp-linux.c +++ b/gdb/features/mips-dsp-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: mips-dsp-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: mips-dsp-linux.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/mips-linux.c b/gdb/features/mips-linux.c index b0181eb..c990119 100644 --- a/gdb/features/mips-linux.c +++ b/gdb/features/mips-linux.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: mips-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: mips-linux.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_mips_linux; @@ -12,6 +14,8 @@ initialize_tdesc_mips_linux (void) set_tdesc_architecture (result, bfd_scan_arch ("mips")); + set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux")); + feature = tdesc_create_feature (result, "org.gnu.gdb.mips.cpu"); tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "int"); tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "int"); diff --git a/gdb/features/mips64-dsp-linux.c b/gdb/features/mips64-dsp-linux.c index 3e67990..bc09078 100644 --- a/gdb/features/mips64-dsp-linux.c +++ b/gdb/features/mips64-dsp-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: mips64-dsp-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: mips64-dsp-linux.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/mips64-linux.c b/gdb/features/mips64-linux.c index f214d12..2ecda9b 100644 --- a/gdb/features/mips64-linux.c +++ b/gdb/features/mips64-linux.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: mips64-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: mips64-linux.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_mips64_linux; diff --git a/gdb/features/rs6000/powerpc-32.c b/gdb/features/rs6000/powerpc-32.c index 1a1bdaa..5ee5d9c 100644 --- a/gdb/features/rs6000/powerpc-32.c +++ b/gdb/features/rs6000/powerpc-32.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-32.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-32.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_32; diff --git a/gdb/features/rs6000/powerpc-32l.c b/gdb/features/rs6000/powerpc-32l.c index d562189..971fd4b 100644 --- a/gdb/features/rs6000/powerpc-32l.c +++ b/gdb/features/rs6000/powerpc-32l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-32l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-32l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_32l; diff --git a/gdb/features/rs6000/powerpc-403.c b/gdb/features/rs6000/powerpc-403.c index 990ed76..a9106f5 100644 --- a/gdb/features/rs6000/powerpc-403.c +++ b/gdb/features/rs6000/powerpc-403.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-403.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-403.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_403; diff --git a/gdb/features/rs6000/powerpc-403gc.c b/gdb/features/rs6000/powerpc-403gc.c index 315b9ff..402b747 100644 --- a/gdb/features/rs6000/powerpc-403gc.c +++ b/gdb/features/rs6000/powerpc-403gc.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-403gc.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-403gc.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_403gc; diff --git a/gdb/features/rs6000/powerpc-405.c b/gdb/features/rs6000/powerpc-405.c index 3330535..bcfa144 100644 --- a/gdb/features/rs6000/powerpc-405.c +++ b/gdb/features/rs6000/powerpc-405.c @@ -1,7 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-405.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-405.xml */ #include "defs.h" -#include "gdbtypes.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_405; diff --git a/gdb/features/rs6000/powerpc-505.c b/gdb/features/rs6000/powerpc-505.c index 4974505..09b0c7a 100644 --- a/gdb/features/rs6000/powerpc-505.c +++ b/gdb/features/rs6000/powerpc-505.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-505.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-505.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_505; diff --git a/gdb/features/rs6000/powerpc-601.c b/gdb/features/rs6000/powerpc-601.c index 7d7e440..f30f5e6 100644 --- a/gdb/features/rs6000/powerpc-601.c +++ b/gdb/features/rs6000/powerpc-601.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-601.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-601.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_601; diff --git a/gdb/features/rs6000/powerpc-602.c b/gdb/features/rs6000/powerpc-602.c index c71e45a..7696717 100644 --- a/gdb/features/rs6000/powerpc-602.c +++ b/gdb/features/rs6000/powerpc-602.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-602.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-602.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_602; diff --git a/gdb/features/rs6000/powerpc-603.c b/gdb/features/rs6000/powerpc-603.c index e2e3275..d5dae39 100644 --- a/gdb/features/rs6000/powerpc-603.c +++ b/gdb/features/rs6000/powerpc-603.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-603.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-603.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_603; diff --git a/gdb/features/rs6000/powerpc-604.c b/gdb/features/rs6000/powerpc-604.c index 24f2f14..44dc8ca 100644 --- a/gdb/features/rs6000/powerpc-604.c +++ b/gdb/features/rs6000/powerpc-604.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-604.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-604.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_604; diff --git a/gdb/features/rs6000/powerpc-64.c b/gdb/features/rs6000/powerpc-64.c index 826af38..160d122 100644 --- a/gdb/features/rs6000/powerpc-64.c +++ b/gdb/features/rs6000/powerpc-64.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-64.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-64.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_64; diff --git a/gdb/features/rs6000/powerpc-64l.c b/gdb/features/rs6000/powerpc-64l.c index 7b83a70..16a766e 100644 --- a/gdb/features/rs6000/powerpc-64l.c +++ b/gdb/features/rs6000/powerpc-64l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-64l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-64l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_64l; diff --git a/gdb/features/rs6000/powerpc-7400.c b/gdb/features/rs6000/powerpc-7400.c index 882dde9..69d20c4 100644 --- a/gdb/features/rs6000/powerpc-7400.c +++ b/gdb/features/rs6000/powerpc-7400.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-7400.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-7400.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_7400; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_7400 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; feature = tdesc_create_feature (result, "org.gnu.gdb.power.core"); tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "uint32"); diff --git a/gdb/features/rs6000/powerpc-750.c b/gdb/features/rs6000/powerpc-750.c index 8af9e80..099a478 100644 --- a/gdb/features/rs6000/powerpc-750.c +++ b/gdb/features/rs6000/powerpc-750.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-750.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-750.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_750; diff --git a/gdb/features/rs6000/powerpc-860.c b/gdb/features/rs6000/powerpc-860.c index c259397..0692feb 100644 --- a/gdb/features/rs6000/powerpc-860.c +++ b/gdb/features/rs6000/powerpc-860.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-860.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-860.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_860; diff --git a/gdb/features/rs6000/powerpc-altivec32.c b/gdb/features/rs6000/powerpc-altivec32.c index 668ab50..285e87d 100644 --- a/gdb/features/rs6000/powerpc-altivec32.c +++ b/gdb/features/rs6000/powerpc-altivec32.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-altivec32.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-altivec32.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_altivec32; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_altivec32 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); diff --git a/gdb/features/rs6000/powerpc-altivec32l.c b/gdb/features/rs6000/powerpc-altivec32l.c index 534f2b2..447ed47 100644 --- a/gdb/features/rs6000/powerpc-altivec32l.c +++ b/gdb/features/rs6000/powerpc-altivec32l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-altivec32l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-altivec32l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_altivec32l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_altivec32l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); diff --git a/gdb/features/rs6000/powerpc-altivec64.c b/gdb/features/rs6000/powerpc-altivec64.c index 1a03ff3..1e9a61d 100644 --- a/gdb/features/rs6000/powerpc-altivec64.c +++ b/gdb/features/rs6000/powerpc-altivec64.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-altivec64.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-altivec64.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_altivec64; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_altivec64 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64")); diff --git a/gdb/features/rs6000/powerpc-altivec64l.c b/gdb/features/rs6000/powerpc-altivec64l.c index 2cac92b..10ecd8a 100644 --- a/gdb/features/rs6000/powerpc-altivec64l.c +++ b/gdb/features/rs6000/powerpc-altivec64l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-altivec64l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-altivec64l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_altivec64l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_altivec64l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64")); diff --git a/gdb/features/rs6000/powerpc-cell32l.c b/gdb/features/rs6000/powerpc-cell32l.c index 8a6fdc4..7d33dc2 100644 --- a/gdb/features/rs6000/powerpc-cell32l.c +++ b/gdb/features/rs6000/powerpc-cell32l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-cell32l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-cell32l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_cell32l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_cell32l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); diff --git a/gdb/features/rs6000/powerpc-cell64l.c b/gdb/features/rs6000/powerpc-cell64l.c index 4f8692e..6054c26 100644 --- a/gdb/features/rs6000/powerpc-cell64l.c +++ b/gdb/features/rs6000/powerpc-cell64l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-cell64l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-cell64l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_cell64l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_cell64l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64")); diff --git a/gdb/features/rs6000/powerpc-e500.c b/gdb/features/rs6000/powerpc-e500.c index db54f6a..aaca3a7 100644 --- a/gdb/features/rs6000/powerpc-e500.c +++ b/gdb/features/rs6000/powerpc-e500.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-e500.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-e500.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_e500; diff --git a/gdb/features/rs6000/powerpc-e500l.c b/gdb/features/rs6000/powerpc-e500l.c index 479578c..de03862 100644 --- a/gdb/features/rs6000/powerpc-e500l.c +++ b/gdb/features/rs6000/powerpc-e500l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-e500l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-e500l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_e500l; diff --git a/gdb/features/rs6000/powerpc-isa205-32l.c b/gdb/features/rs6000/powerpc-isa205-32l.c index 5d1006c..1b5bd6d 100644 --- a/gdb/features/rs6000/powerpc-isa205-32l.c +++ b/gdb/features/rs6000/powerpc-isa205-32l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-isa205-32l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-isa205-32l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_isa205_32l; diff --git a/gdb/features/rs6000/powerpc-isa205-64l.c b/gdb/features/rs6000/powerpc-isa205-64l.c index c0a851d..31bfc87 100644 --- a/gdb/features/rs6000/powerpc-isa205-64l.c +++ b/gdb/features/rs6000/powerpc-isa205-64l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-isa205-64l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-isa205-64l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_isa205_64l; diff --git a/gdb/features/rs6000/powerpc-isa205-altivec32l.c b/gdb/features/rs6000/powerpc-isa205-altivec32l.c index c8551da..6c216ce 100644 --- a/gdb/features/rs6000/powerpc-isa205-altivec32l.c +++ b/gdb/features/rs6000/powerpc-isa205-altivec32l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-isa205-altivec32l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-isa205-altivec32l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_isa205_altivec32l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_isa205_altivec32l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); diff --git a/gdb/features/rs6000/powerpc-isa205-altivec64l.c b/gdb/features/rs6000/powerpc-isa205-altivec64l.c index 37ef40c..2c206aa 100644 --- a/gdb/features/rs6000/powerpc-isa205-altivec64l.c +++ b/gdb/features/rs6000/powerpc-isa205-altivec64l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-isa205-altivec64l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-isa205-altivec64l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_isa205_altivec64l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_isa205_altivec64l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64")); diff --git a/gdb/features/rs6000/powerpc-isa205-vsx32l.c b/gdb/features/rs6000/powerpc-isa205-vsx32l.c index fdcbe96..4659ce1 100644 --- a/gdb/features/rs6000/powerpc-isa205-vsx32l.c +++ b/gdb/features/rs6000/powerpc-isa205-vsx32l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-isa205-vsx32l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-isa205-vsx32l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_isa205_vsx32l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_isa205_vsx32l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); diff --git a/gdb/features/rs6000/powerpc-isa205-vsx64l.c b/gdb/features/rs6000/powerpc-isa205-vsx64l.c index 33dcb5a..64b12b9 100644 --- a/gdb/features/rs6000/powerpc-isa205-vsx64l.c +++ b/gdb/features/rs6000/powerpc-isa205-vsx64l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-isa205-vsx64l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-isa205-vsx64l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_isa205_vsx64l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_isa205_vsx64l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64")); diff --git a/gdb/features/rs6000/powerpc-vsx32.c b/gdb/features/rs6000/powerpc-vsx32.c index 9c7e371..ba1fcb6 100644 --- a/gdb/features/rs6000/powerpc-vsx32.c +++ b/gdb/features/rs6000/powerpc-vsx32.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-vsx32.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-vsx32.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_vsx32; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_vsx32 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); diff --git a/gdb/features/rs6000/powerpc-vsx32l.c b/gdb/features/rs6000/powerpc-vsx32l.c index c3c4ccd..013e392 100644 --- a/gdb/features/rs6000/powerpc-vsx32l.c +++ b/gdb/features/rs6000/powerpc-vsx32l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-vsx32l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-vsx32l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_vsx32l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_vsx32l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common")); diff --git a/gdb/features/rs6000/powerpc-vsx64.c b/gdb/features/rs6000/powerpc-vsx64.c index 25b843c..ca02323 100644 --- a/gdb/features/rs6000/powerpc-vsx64.c +++ b/gdb/features/rs6000/powerpc-vsx64.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-vsx64.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-vsx64.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_vsx64; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_vsx64 (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64")); diff --git a/gdb/features/rs6000/powerpc-vsx64l.c b/gdb/features/rs6000/powerpc-vsx64l.c index 37c2d35..31bb224 100644 --- a/gdb/features/rs6000/powerpc-vsx64l.c +++ b/gdb/features/rs6000/powerpc-vsx64l.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: powerpc-vsx64l.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: powerpc-vsx64l.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_vsx64l; @@ -9,7 +11,8 @@ initialize_tdesc_powerpc_vsx64l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; - struct tdesc_type *field_type, *type; + struct tdesc_type *field_type; + struct tdesc_type *type; set_tdesc_architecture (result, bfd_scan_arch ("powerpc:common64")); diff --git a/gdb/features/rs6000/rs6000.c b/gdb/features/rs6000/rs6000.c index 9793059..d4e93a5 100644 --- a/gdb/features/rs6000/rs6000.c +++ b/gdb/features/rs6000/rs6000.c @@ -1,6 +1,8 @@ -/* THIS FILE IS GENERATED. Original: rs6000.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: rs6000.xml */ #include "defs.h" +#include "osabi.h" #include "target-descriptions.h" struct target_desc *tdesc_rs6000; diff --git a/gdb/features/s390-linux32.c b/gdb/features/s390-linux32.c index 57ade3b..6d13094 100644 --- a/gdb/features/s390-linux32.c +++ b/gdb/features/s390-linux32.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390-linux32.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390-linux32.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390-linux32v1.c b/gdb/features/s390-linux32v1.c index f1637cb..f773fc1 100644 --- a/gdb/features/s390-linux32v1.c +++ b/gdb/features/s390-linux32v1.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390-linux32v1.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390-linux32v1.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390-linux32v2.c b/gdb/features/s390-linux32v2.c index 75db548..2317752 100644 --- a/gdb/features/s390-linux32v2.c +++ b/gdb/features/s390-linux32v2.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390-linux32v2.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390-linux32v2.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390-linux64.c b/gdb/features/s390-linux64.c index bd6972e..3c7145b 100644 --- a/gdb/features/s390-linux64.c +++ b/gdb/features/s390-linux64.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390-linux64.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390-linux64.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390-linux64v1.c b/gdb/features/s390-linux64v1.c index 4936a7f..72bd894 100644 --- a/gdb/features/s390-linux64v1.c +++ b/gdb/features/s390-linux64v1.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390-linux64v1.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390-linux64v1.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390-linux64v2.c b/gdb/features/s390-linux64v2.c index 955b635..a1757da 100644 --- a/gdb/features/s390-linux64v2.c +++ b/gdb/features/s390-linux64v2.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390-linux64v2.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390-linux64v2.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390x-linux64.c b/gdb/features/s390x-linux64.c index 9cb8958..04502c6 100644 --- a/gdb/features/s390x-linux64.c +++ b/gdb/features/s390x-linux64.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390x-linux64.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390x-linux64.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390x-linux64v1.c b/gdb/features/s390x-linux64v1.c index c41ff76..05bfd53 100644 --- a/gdb/features/s390x-linux64v1.c +++ b/gdb/features/s390x-linux64v1.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390x-linux64v1.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390x-linux64v1.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/s390x-linux64v2.c b/gdb/features/s390x-linux64v2.c index fb93d68..4108cc0 100644 --- a/gdb/features/s390x-linux64v2.c +++ b/gdb/features/s390x-linux64v2.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: s390x-linux64v2.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: s390x-linux64v2.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/tic6x-c62x-linux.c b/gdb/features/tic6x-c62x-linux.c index 288309f..8dd426d 100644 --- a/gdb/features/tic6x-c62x-linux.c +++ b/gdb/features/tic6x-c62x-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: tic6x-c62x-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: tic6x-c62x-linux.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/tic6x-c62x.c b/gdb/features/tic6x-c62x.c index 0a2f958..2089aaf 100644 --- a/gdb/features/tic6x-c62x.c +++ b/gdb/features/tic6x-c62x.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: tic6x-c62x.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: tic6x-c62x.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/tic6x-c64x-linux.c b/gdb/features/tic6x-c64x-linux.c index 59e1ced..2752358 100644 --- a/gdb/features/tic6x-c64x-linux.c +++ b/gdb/features/tic6x-c64x-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: tic6x-c64x-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: tic6x-c64x-linux.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/tic6x-c64x.c b/gdb/features/tic6x-c64x.c index f0fcdce..0feda24 100644 --- a/gdb/features/tic6x-c64x.c +++ b/gdb/features/tic6x-c64x.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: tic6x-c64x.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: tic6x-c64x.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/tic6x-c64xp-linux.c b/gdb/features/tic6x-c64xp-linux.c index 927f8da..c1bee4c 100644 --- a/gdb/features/tic6x-c64xp-linux.c +++ b/gdb/features/tic6x-c64xp-linux.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: tic6x-c64xp-linux.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: tic6x-c64xp-linux.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/features/tic6x-c64xp.c b/gdb/features/tic6x-c64xp.c index cd4de3a..160b854 100644 --- a/gdb/features/tic6x-c64xp.c +++ b/gdb/features/tic6x-c64xp.c @@ -1,4 +1,5 @@ -/* THIS FILE IS GENERATED. Original: tic6x-c64xp.xml */ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: tic6x-c64xp.xml */ #include "defs.h" #include "osabi.h" diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index f3d81a1..8c73db2 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -1,4 +1,5 @@ -/* *INDENT-OFF* */ /* THIS FILE IS GENERATED */ +/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */ +/* vi:set ro: */ /* Dynamic architecture support for GDB, the GNU debugger. diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index a239aa4..f2b186a 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1,4 +1,5 @@ -/* *INDENT-OFF* */ /* THIS FILE IS GENERATED */ +/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */ +/* vi:set ro: */ /* Dynamic architecture support for GDB, the GNU debugger. diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 06294ab..05c0035 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -1006,7 +1006,8 @@ compare_new gdbarch.log copyright () { cat <<EOF -/* *INDENT-OFF* */ /* THIS FILE IS GENERATED */ +/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */ +/* vi:set ro: */ /* Dynamic architecture support for GDB, the GNU debugger. diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index 16aaa64..8b81730 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -1575,8 +1575,10 @@ maint_print_c_tdesc_cmd (char *args, int from_tty) *outp = '\0'; /* Standard boilerplate. */ - printf_unfiltered ("/* THIS FILE IS GENERATED. Original: %s */\n\n", - filename); + printf_unfiltered ("/* THIS FILE IS GENERATED. " + "-*- buffer-read-only: t -*- vi" + ":set ro:\n"); + printf_unfiltered (" Original: %s */\n\n", filename); printf_unfiltered ("#include \"defs.h\"\n"); printf_unfiltered ("#include \"osabi.h\"\n"); printf_unfiltered ("#include \"target-descriptions.h\"\n"); |