From 6a17ca318b7bc453831049f1d8bbc7f336f5ac5a Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 8 Aug 2016 15:09:46 +0100 Subject: [PATCH] Regenerate some target description files I regenerated all target description .c files from scratch, and got this spurious diff. It's a simple mid-air collision - these files were clearly generated before commit 73b4f516a037 ("maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type."), which did the global s/field_type/type/, and pushed to master afterwards. gdb/features/ChangeLog: 2016-08-08 Pedro Alves * features/i386/amd64-avx-mpx-linux.c: Regenerate. * features/i386/amd64-avx-mpx.c: Regenerate. * features/i386/i386-avx-mpx-linux.c: Regenerate. * features/i386/i386-avx-mpx.c: Regenerate. --- gdb/ChangeLog | 7 +++ gdb/features/i386/amd64-avx-mpx-linux.c | 66 ++++++++++++------------- gdb/features/i386/amd64-avx-mpx.c | 66 ++++++++++++------------- gdb/features/i386/i386-avx-mpx-linux.c | 66 ++++++++++++------------- gdb/features/i386/i386-avx-mpx.c | 66 ++++++++++++------------- 5 files changed, 139 insertions(+), 132 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7799467394f..e5e6f2d4ce3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2016-08-08 Pedro Alves + + * features/i386/amd64-avx-mpx-linux.c: Regenerate. + * features/i386/amd64-avx-mpx.c: Regenerate. + * features/i386/i386-avx-mpx-linux.c: Regenerate. + * features/i386/i386-avx-mpx.c: Regenerate. + 2016-08-05 Simon Marchi * event-top.h (cli_command_loop): Remove. diff --git a/gdb/features/i386/amd64-avx-mpx-linux.c b/gdb/features/i386/amd64-avx-mpx-linux.c index 37b4c810a61..46054803cc9 100644 --- a/gdb/features/i386/amd64-avx-mpx-linux.c +++ b/gdb/features/i386/amd64-avx-mpx-linux.c @@ -19,24 +19,24 @@ initialize_tdesc_amd64_avx_mpx_linux (void) set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux")); feature = tdesc_create_feature (result, "org.gnu.gdb.i386.core"); - field_type = tdesc_create_flags (feature, "i386_eflags", 4); - tdesc_add_flag (field_type, 0, "CF"); - tdesc_add_flag (field_type, 1, ""); - tdesc_add_flag (field_type, 2, "PF"); - tdesc_add_flag (field_type, 4, "AF"); - tdesc_add_flag (field_type, 6, "ZF"); - tdesc_add_flag (field_type, 7, "SF"); - tdesc_add_flag (field_type, 8, "TF"); - tdesc_add_flag (field_type, 9, "IF"); - tdesc_add_flag (field_type, 10, "DF"); - tdesc_add_flag (field_type, 11, "OF"); - tdesc_add_flag (field_type, 14, "NT"); - tdesc_add_flag (field_type, 16, "RF"); - tdesc_add_flag (field_type, 17, "VM"); - tdesc_add_flag (field_type, 18, "AC"); - tdesc_add_flag (field_type, 19, "VIF"); - tdesc_add_flag (field_type, 20, "VIP"); - tdesc_add_flag (field_type, 21, "ID"); + type = tdesc_create_flags (feature, "i386_eflags", 4); + tdesc_add_flag (type, 0, "CF"); + tdesc_add_flag (type, 1, ""); + tdesc_add_flag (type, 2, "PF"); + tdesc_add_flag (type, 4, "AF"); + tdesc_add_flag (type, 6, "ZF"); + tdesc_add_flag (type, 7, "SF"); + tdesc_add_flag (type, 8, "TF"); + tdesc_add_flag (type, 9, "IF"); + tdesc_add_flag (type, 10, "DF"); + tdesc_add_flag (type, 11, "OF"); + tdesc_add_flag (type, 14, "NT"); + tdesc_add_flag (type, 16, "RF"); + tdesc_add_flag (type, 17, "VM"); + tdesc_add_flag (type, 18, "AC"); + tdesc_add_flag (type, 19, "VIF"); + tdesc_add_flag (type, 20, "VIP"); + tdesc_add_flag (type, 21, "ID"); tdesc_create_reg (feature, "rax", 0, 1, NULL, 64, "int64"); tdesc_create_reg (feature, "rbx", 1, 1, NULL, 64, "int64"); @@ -114,21 +114,21 @@ initialize_tdesc_amd64_avx_mpx_linux (void) field_type = tdesc_named_type (feature, "uint128"); tdesc_add_field (type, "uint128", field_type); - field_type = tdesc_create_flags (feature, "i386_mxcsr", 4); - tdesc_add_flag (field_type, 0, "IE"); - tdesc_add_flag (field_type, 1, "DE"); - tdesc_add_flag (field_type, 2, "ZE"); - tdesc_add_flag (field_type, 3, "OE"); - tdesc_add_flag (field_type, 4, "UE"); - tdesc_add_flag (field_type, 5, "PE"); - tdesc_add_flag (field_type, 6, "DAZ"); - tdesc_add_flag (field_type, 7, "IM"); - tdesc_add_flag (field_type, 8, "DM"); - tdesc_add_flag (field_type, 9, "ZM"); - tdesc_add_flag (field_type, 10, "OM"); - tdesc_add_flag (field_type, 11, "UM"); - tdesc_add_flag (field_type, 12, "PM"); - tdesc_add_flag (field_type, 15, "FZ"); + type = tdesc_create_flags (feature, "i386_mxcsr", 4); + tdesc_add_flag (type, 0, "IE"); + tdesc_add_flag (type, 1, "DE"); + tdesc_add_flag (type, 2, "ZE"); + tdesc_add_flag (type, 3, "OE"); + tdesc_add_flag (type, 4, "UE"); + tdesc_add_flag (type, 5, "PE"); + tdesc_add_flag (type, 6, "DAZ"); + tdesc_add_flag (type, 7, "IM"); + tdesc_add_flag (type, 8, "DM"); + tdesc_add_flag (type, 9, "ZM"); + tdesc_add_flag (type, 10, "OM"); + tdesc_add_flag (type, 11, "UM"); + tdesc_add_flag (type, 12, "PM"); + tdesc_add_flag (type, 15, "FZ"); tdesc_create_reg (feature, "xmm0", 40, 1, NULL, 128, "vec128"); tdesc_create_reg (feature, "xmm1", 41, 1, NULL, 128, "vec128"); diff --git a/gdb/features/i386/amd64-avx-mpx.c b/gdb/features/i386/amd64-avx-mpx.c index 1279f73708c..ab56f42f139 100644 --- a/gdb/features/i386/amd64-avx-mpx.c +++ b/gdb/features/i386/amd64-avx-mpx.c @@ -17,24 +17,24 @@ initialize_tdesc_amd64_avx_mpx (void) set_tdesc_architecture (result, bfd_scan_arch ("i386:x86-64")); feature = tdesc_create_feature (result, "org.gnu.gdb.i386.core"); - field_type = tdesc_create_flags (feature, "i386_eflags", 4); - tdesc_add_flag (field_type, 0, "CF"); - tdesc_add_flag (field_type, 1, ""); - tdesc_add_flag (field_type, 2, "PF"); - tdesc_add_flag (field_type, 4, "AF"); - tdesc_add_flag (field_type, 6, "ZF"); - tdesc_add_flag (field_type, 7, "SF"); - tdesc_add_flag (field_type, 8, "TF"); - tdesc_add_flag (field_type, 9, "IF"); - tdesc_add_flag (field_type, 10, "DF"); - tdesc_add_flag (field_type, 11, "OF"); - tdesc_add_flag (field_type, 14, "NT"); - tdesc_add_flag (field_type, 16, "RF"); - tdesc_add_flag (field_type, 17, "VM"); - tdesc_add_flag (field_type, 18, "AC"); - tdesc_add_flag (field_type, 19, "VIF"); - tdesc_add_flag (field_type, 20, "VIP"); - tdesc_add_flag (field_type, 21, "ID"); + type = tdesc_create_flags (feature, "i386_eflags", 4); + tdesc_add_flag (type, 0, "CF"); + tdesc_add_flag (type, 1, ""); + tdesc_add_flag (type, 2, "PF"); + tdesc_add_flag (type, 4, "AF"); + tdesc_add_flag (type, 6, "ZF"); + tdesc_add_flag (type, 7, "SF"); + tdesc_add_flag (type, 8, "TF"); + tdesc_add_flag (type, 9, "IF"); + tdesc_add_flag (type, 10, "DF"); + tdesc_add_flag (type, 11, "OF"); + tdesc_add_flag (type, 14, "NT"); + tdesc_add_flag (type, 16, "RF"); + tdesc_add_flag (type, 17, "VM"); + tdesc_add_flag (type, 18, "AC"); + tdesc_add_flag (type, 19, "VIF"); + tdesc_add_flag (type, 20, "VIP"); + tdesc_add_flag (type, 21, "ID"); tdesc_create_reg (feature, "rax", 0, 1, NULL, 64, "int64"); tdesc_create_reg (feature, "rbx", 1, 1, NULL, 64, "int64"); @@ -112,21 +112,21 @@ initialize_tdesc_amd64_avx_mpx (void) field_type = tdesc_named_type (feature, "uint128"); tdesc_add_field (type, "uint128", field_type); - field_type = tdesc_create_flags (feature, "i386_mxcsr", 4); - tdesc_add_flag (field_type, 0, "IE"); - tdesc_add_flag (field_type, 1, "DE"); - tdesc_add_flag (field_type, 2, "ZE"); - tdesc_add_flag (field_type, 3, "OE"); - tdesc_add_flag (field_type, 4, "UE"); - tdesc_add_flag (field_type, 5, "PE"); - tdesc_add_flag (field_type, 6, "DAZ"); - tdesc_add_flag (field_type, 7, "IM"); - tdesc_add_flag (field_type, 8, "DM"); - tdesc_add_flag (field_type, 9, "ZM"); - tdesc_add_flag (field_type, 10, "OM"); - tdesc_add_flag (field_type, 11, "UM"); - tdesc_add_flag (field_type, 12, "PM"); - tdesc_add_flag (field_type, 15, "FZ"); + type = tdesc_create_flags (feature, "i386_mxcsr", 4); + tdesc_add_flag (type, 0, "IE"); + tdesc_add_flag (type, 1, "DE"); + tdesc_add_flag (type, 2, "ZE"); + tdesc_add_flag (type, 3, "OE"); + tdesc_add_flag (type, 4, "UE"); + tdesc_add_flag (type, 5, "PE"); + tdesc_add_flag (type, 6, "DAZ"); + tdesc_add_flag (type, 7, "IM"); + tdesc_add_flag (type, 8, "DM"); + tdesc_add_flag (type, 9, "ZM"); + tdesc_add_flag (type, 10, "OM"); + tdesc_add_flag (type, 11, "UM"); + tdesc_add_flag (type, 12, "PM"); + tdesc_add_flag (type, 15, "FZ"); tdesc_create_reg (feature, "xmm0", 40, 1, NULL, 128, "vec128"); tdesc_create_reg (feature, "xmm1", 41, 1, NULL, 128, "vec128"); diff --git a/gdb/features/i386/i386-avx-mpx-linux.c b/gdb/features/i386/i386-avx-mpx-linux.c index dd75403932d..941f2b3d605 100644 --- a/gdb/features/i386/i386-avx-mpx-linux.c +++ b/gdb/features/i386/i386-avx-mpx-linux.c @@ -19,24 +19,24 @@ initialize_tdesc_i386_avx_mpx_linux (void) set_tdesc_osabi (result, osabi_from_tdesc_string ("GNU/Linux")); feature = tdesc_create_feature (result, "org.gnu.gdb.i386.core"); - field_type = tdesc_create_flags (feature, "i386_eflags", 4); - tdesc_add_flag (field_type, 0, "CF"); - tdesc_add_flag (field_type, 1, ""); - tdesc_add_flag (field_type, 2, "PF"); - tdesc_add_flag (field_type, 4, "AF"); - tdesc_add_flag (field_type, 6, "ZF"); - tdesc_add_flag (field_type, 7, "SF"); - tdesc_add_flag (field_type, 8, "TF"); - tdesc_add_flag (field_type, 9, "IF"); - tdesc_add_flag (field_type, 10, "DF"); - tdesc_add_flag (field_type, 11, "OF"); - tdesc_add_flag (field_type, 14, "NT"); - tdesc_add_flag (field_type, 16, "RF"); - tdesc_add_flag (field_type, 17, "VM"); - tdesc_add_flag (field_type, 18, "AC"); - tdesc_add_flag (field_type, 19, "VIF"); - tdesc_add_flag (field_type, 20, "VIP"); - tdesc_add_flag (field_type, 21, "ID"); + type = tdesc_create_flags (feature, "i386_eflags", 4); + tdesc_add_flag (type, 0, "CF"); + tdesc_add_flag (type, 1, ""); + tdesc_add_flag (type, 2, "PF"); + tdesc_add_flag (type, 4, "AF"); + tdesc_add_flag (type, 6, "ZF"); + tdesc_add_flag (type, 7, "SF"); + tdesc_add_flag (type, 8, "TF"); + tdesc_add_flag (type, 9, "IF"); + tdesc_add_flag (type, 10, "DF"); + tdesc_add_flag (type, 11, "OF"); + tdesc_add_flag (type, 14, "NT"); + tdesc_add_flag (type, 16, "RF"); + tdesc_add_flag (type, 17, "VM"); + tdesc_add_flag (type, 18, "AC"); + tdesc_add_flag (type, 19, "VIF"); + tdesc_add_flag (type, 20, "VIP"); + tdesc_add_flag (type, 21, "ID"); tdesc_create_reg (feature, "eax", 0, 1, NULL, 32, "int32"); tdesc_create_reg (feature, "ecx", 1, 1, NULL, 32, "int32"); @@ -106,21 +106,21 @@ initialize_tdesc_i386_avx_mpx_linux (void) field_type = tdesc_named_type (feature, "uint128"); tdesc_add_field (type, "uint128", field_type); - field_type = tdesc_create_flags (feature, "i386_mxcsr", 4); - tdesc_add_flag (field_type, 0, "IE"); - tdesc_add_flag (field_type, 1, "DE"); - tdesc_add_flag (field_type, 2, "ZE"); - tdesc_add_flag (field_type, 3, "OE"); - tdesc_add_flag (field_type, 4, "UE"); - tdesc_add_flag (field_type, 5, "PE"); - tdesc_add_flag (field_type, 6, "DAZ"); - tdesc_add_flag (field_type, 7, "IM"); - tdesc_add_flag (field_type, 8, "DM"); - tdesc_add_flag (field_type, 9, "ZM"); - tdesc_add_flag (field_type, 10, "OM"); - tdesc_add_flag (field_type, 11, "UM"); - tdesc_add_flag (field_type, 12, "PM"); - tdesc_add_flag (field_type, 15, "FZ"); + type = tdesc_create_flags (feature, "i386_mxcsr", 4); + tdesc_add_flag (type, 0, "IE"); + tdesc_add_flag (type, 1, "DE"); + tdesc_add_flag (type, 2, "ZE"); + tdesc_add_flag (type, 3, "OE"); + tdesc_add_flag (type, 4, "UE"); + tdesc_add_flag (type, 5, "PE"); + tdesc_add_flag (type, 6, "DAZ"); + tdesc_add_flag (type, 7, "IM"); + tdesc_add_flag (type, 8, "DM"); + tdesc_add_flag (type, 9, "ZM"); + tdesc_add_flag (type, 10, "OM"); + tdesc_add_flag (type, 11, "UM"); + tdesc_add_flag (type, 12, "PM"); + tdesc_add_flag (type, 15, "FZ"); tdesc_create_reg (feature, "xmm0", 32, 1, NULL, 128, "vec128"); tdesc_create_reg (feature, "xmm1", 33, 1, NULL, 128, "vec128"); diff --git a/gdb/features/i386/i386-avx-mpx.c b/gdb/features/i386/i386-avx-mpx.c index f104e4bb428..d822aacd54d 100644 --- a/gdb/features/i386/i386-avx-mpx.c +++ b/gdb/features/i386/i386-avx-mpx.c @@ -17,24 +17,24 @@ initialize_tdesc_i386_avx_mpx (void) set_tdesc_architecture (result, bfd_scan_arch ("i386")); feature = tdesc_create_feature (result, "org.gnu.gdb.i386.core"); - field_type = tdesc_create_flags (feature, "i386_eflags", 4); - tdesc_add_flag (field_type, 0, "CF"); - tdesc_add_flag (field_type, 1, ""); - tdesc_add_flag (field_type, 2, "PF"); - tdesc_add_flag (field_type, 4, "AF"); - tdesc_add_flag (field_type, 6, "ZF"); - tdesc_add_flag (field_type, 7, "SF"); - tdesc_add_flag (field_type, 8, "TF"); - tdesc_add_flag (field_type, 9, "IF"); - tdesc_add_flag (field_type, 10, "DF"); - tdesc_add_flag (field_type, 11, "OF"); - tdesc_add_flag (field_type, 14, "NT"); - tdesc_add_flag (field_type, 16, "RF"); - tdesc_add_flag (field_type, 17, "VM"); - tdesc_add_flag (field_type, 18, "AC"); - tdesc_add_flag (field_type, 19, "VIF"); - tdesc_add_flag (field_type, 20, "VIP"); - tdesc_add_flag (field_type, 21, "ID"); + type = tdesc_create_flags (feature, "i386_eflags", 4); + tdesc_add_flag (type, 0, "CF"); + tdesc_add_flag (type, 1, ""); + tdesc_add_flag (type, 2, "PF"); + tdesc_add_flag (type, 4, "AF"); + tdesc_add_flag (type, 6, "ZF"); + tdesc_add_flag (type, 7, "SF"); + tdesc_add_flag (type, 8, "TF"); + tdesc_add_flag (type, 9, "IF"); + tdesc_add_flag (type, 10, "DF"); + tdesc_add_flag (type, 11, "OF"); + tdesc_add_flag (type, 14, "NT"); + tdesc_add_flag (type, 16, "RF"); + tdesc_add_flag (type, 17, "VM"); + tdesc_add_flag (type, 18, "AC"); + tdesc_add_flag (type, 19, "VIF"); + tdesc_add_flag (type, 20, "VIP"); + tdesc_add_flag (type, 21, "ID"); tdesc_create_reg (feature, "eax", 0, 1, NULL, 32, "int32"); tdesc_create_reg (feature, "ecx", 1, 1, NULL, 32, "int32"); @@ -104,21 +104,21 @@ initialize_tdesc_i386_avx_mpx (void) field_type = tdesc_named_type (feature, "uint128"); tdesc_add_field (type, "uint128", field_type); - field_type = tdesc_create_flags (feature, "i386_mxcsr", 4); - tdesc_add_flag (field_type, 0, "IE"); - tdesc_add_flag (field_type, 1, "DE"); - tdesc_add_flag (field_type, 2, "ZE"); - tdesc_add_flag (field_type, 3, "OE"); - tdesc_add_flag (field_type, 4, "UE"); - tdesc_add_flag (field_type, 5, "PE"); - tdesc_add_flag (field_type, 6, "DAZ"); - tdesc_add_flag (field_type, 7, "IM"); - tdesc_add_flag (field_type, 8, "DM"); - tdesc_add_flag (field_type, 9, "ZM"); - tdesc_add_flag (field_type, 10, "OM"); - tdesc_add_flag (field_type, 11, "UM"); - tdesc_add_flag (field_type, 12, "PM"); - tdesc_add_flag (field_type, 15, "FZ"); + type = tdesc_create_flags (feature, "i386_mxcsr", 4); + tdesc_add_flag (type, 0, "IE"); + tdesc_add_flag (type, 1, "DE"); + tdesc_add_flag (type, 2, "ZE"); + tdesc_add_flag (type, 3, "OE"); + tdesc_add_flag (type, 4, "UE"); + tdesc_add_flag (type, 5, "PE"); + tdesc_add_flag (type, 6, "DAZ"); + tdesc_add_flag (type, 7, "IM"); + tdesc_add_flag (type, 8, "DM"); + tdesc_add_flag (type, 9, "ZM"); + tdesc_add_flag (type, 10, "OM"); + tdesc_add_flag (type, 11, "UM"); + tdesc_add_flag (type, 12, "PM"); + tdesc_add_flag (type, 15, "FZ"); tdesc_create_reg (feature, "xmm0", 32, 1, NULL, 128, "vec128"); tdesc_create_reg (feature, "xmm1", 33, 1, NULL, 128, "vec128"); -- 2.30.2