aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/i386/x32-linux.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2016-03-15 12:53:55 -0700
committerDoug Evans <dje@google.com>2016-03-15 12:53:55 -0700
commit73b4f516a037e5fd2e90a3555c59ed42c9578e48 (patch)
treea35d7b552afc926621b1e3e705dc0f574fb92553 /gdb/features/i386/x32-linux.c
parentaa52b601cc232d41a956c9929a090f077c6d1a4a (diff)
downloadgdb-73b4f516a037e5fd2e90a3555c59ed42c9578e48.zip
gdb-73b4f516a037e5fd2e90a3555c59ed42c9578e48.tar.gz
gdb-73b4f516a037e5fd2e90a3555c59ed42c9578e48.tar.bz2
maint_print_c_tdesc_cmd: Use type for TYPE_CODE_FLAGS instead of field_type.
gdb/ChangeLog: * target-descriptions.c (maint_print_c_tdesc_cmd): Use "type" for TYPE_CODE_FLAGS instead of "field_type", for consistency. * features/i386/amd64-avx-linux.c: Regenerate. * features/i386/amd64-avx.c: Regenerate. * features/i386/amd64-avx512-linux.c: Regenerate. * features/i386/amd64-avx512.c: Regenerate. * features/i386/amd64-linux.c: Regenerate. * features/i386/amd64-mpx-linux.c: Regenerate. * features/i386/amd64-mpx.c: Regenerate. * features/i386/amd64.c: Regenerate. * features/i386/i386-avx-linux.c: Regenerate. * features/i386/i386-avx.c: Regenerate. * features/i386/i386-avx512-linux.c: Regenerate. * features/i386/i386-avx512.c: Regenerate. * features/i386/i386-linux.c: Regenerate. * features/i386/i386-mmx-linux.c: Regenerate. * features/i386/i386-mmx.c: Regenerate. * features/i386/i386-mpx-linux.c: Regenerate. * features/i386/i386-mpx.c: Regenerate. * features/i386/i386.c: Regenerate. * features/i386/x32-avx-linux.c: Regenerate. * features/i386/x32-avx.c: Regenerate. * features/i386/x32-avx512-linux.c: Regenerate. * features/i386/x32-avx512.c: Regenerate. * features/i386/x32-linux.c: Regenerate. * features/i386/x32.c: Regenerate.
Diffstat (limited to 'gdb/features/i386/x32-linux.c')
-rw-r--r--gdb/features/i386/x32-linux.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/gdb/features/i386/x32-linux.c b/gdb/features/i386/x32-linux.c
index 387436f..1262688 100644
--- a/gdb/features/i386/x32-linux.c
+++ b/gdb/features/i386/x32-linux.c
@@ -19,24 +19,24 @@ initialize_tdesc_x32_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_x32_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");