This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit 1/2] Regenerate the features/i386 target description .c files
On Tuesday, May 01 2012, Joel Brobecker wrote:
> There's been a minor change in the code generator that affects
> how a couple of local variables are being declared. This patch
> regenerates the .c files in features/i386 to bring them up to
> date.
Hi Joel,
Sorry, I only read your message after committing my patch to clean more
bits in the features/ directory.
http://sourceware.org/ml/gdb-patches/2012-05/msg00010.html
Anyway, the only file my commit touched was `i386/i386-mmx-linux.c'. If
it's not too much troube for you, I think you can remove this specific
diff from the patch, and apply the rest safely.
Thanks,
> gdb/ChangeLog:
>
> * features/i386/amd64-avx-linux.c, features/i386/amd64-avx.c,
> features/i386/amd64-linux.c, features/i386/amd64.c,
> features/i386/i386-avx-linux.c, features/i386/i386-avx.c,
> features/i386/i386-linux.c, features/i386/i386-mmx-linux.c,
> features/i386/i386.c, features/i386/x32-avx-linux.c,
> features/i386/x32-avx.c, features/i386/x32-linux.c,
> features/i386/x32.c: Regenerate.
>
> Will commit in a day or two pending comments.
>
> ---
> gdb/features/i386/amd64-avx-linux.c | 3 ++-
> gdb/features/i386/amd64-avx.c | 3 ++-
> gdb/features/i386/amd64-linux.c | 3 ++-
> gdb/features/i386/amd64.c | 3 ++-
> gdb/features/i386/i386-avx-linux.c | 3 ++-
> gdb/features/i386/i386-avx.c | 3 ++-
> gdb/features/i386/i386-linux.c | 3 ++-
> gdb/features/i386/i386-mmx-linux.c | 2 +-
> gdb/features/i386/i386.c | 3 ++-
> gdb/features/i386/x32-avx-linux.c | 3 ++-
> gdb/features/i386/x32-avx.c | 3 ++-
> gdb/features/i386/x32-linux.c | 3 ++-
> gdb/features/i386/x32.c | 3 ++-
> 13 files changed, 25 insertions(+), 13 deletions(-)
>
> diff --git a/gdb/features/i386/amd64-avx-linux.c b/gdb/features/i386/amd64-avx-linux.c
> index 73392d3..81e8ca7 100644
> --- a/gdb/features/i386/amd64-avx-linux.c
> +++ b/gdb/features/i386/amd64-avx-linux.c
> @@ -10,7 +10,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..d69d427 100644
> --- a/gdb/features/i386/amd64-avx.c
> +++ b/gdb/features/i386/amd64-avx.c
> @@ -10,7 +10,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..db97118 100644
> --- a/gdb/features/i386/amd64-linux.c
> +++ b/gdb/features/i386/amd64-linux.c
> @@ -10,7 +10,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..951b36d 100644
> --- a/gdb/features/i386/amd64.c
> +++ b/gdb/features/i386/amd64.c
> @@ -10,7 +10,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..038073e 100644
> --- a/gdb/features/i386/i386-avx-linux.c
> +++ b/gdb/features/i386/i386-avx-linux.c
> @@ -10,7 +10,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..cdfebf8 100644
> --- a/gdb/features/i386/i386-avx.c
> +++ b/gdb/features/i386/i386-avx.c
> @@ -10,7 +10,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..cdc41a8 100644
> --- a/gdb/features/i386/i386-linux.c
> +++ b/gdb/features/i386/i386-linux.c
> @@ -10,7 +10,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 364ade4..872826a 100644
> --- a/gdb/features/i386/i386-mmx-linux.c
> +++ b/gdb/features/i386/i386-mmx-linux.c
> @@ -10,7 +10,7 @@ initialize_tdesc_i386_mmx_linux (void)
> {
> struct target_desc *result = allocate_target_description ();
> struct tdesc_feature *feature;
> - struct tdesc_type *field_type, *type;
> + struct tdesc_type *field_type;
>
> set_tdesc_architecture (result, bfd_scan_arch ("i386"));
>
> diff --git a/gdb/features/i386/i386.c b/gdb/features/i386/i386.c
> index 7f7beb3..b1de96f 100644
> --- a/gdb/features/i386/i386.c
> +++ b/gdb/features/i386/i386.c
> @@ -10,7 +10,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..b01013a 100644
> --- a/gdb/features/i386/x32-avx-linux.c
> +++ b/gdb/features/i386/x32-avx-linux.c
> @@ -10,7 +10,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..af235cd 100644
> --- a/gdb/features/i386/x32-avx.c
> +++ b/gdb/features/i386/x32-avx.c
> @@ -10,7 +10,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..d34a2a9 100644
> --- a/gdb/features/i386/x32-linux.c
> +++ b/gdb/features/i386/x32-linux.c
> @@ -10,7 +10,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..755ec69 100644
> --- a/gdb/features/i386/x32.c
> +++ b/gdb/features/i386/x32.c
> @@ -10,7 +10,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"));
>
> --
> 1.7.1
--
Sergio