aboutsummaryrefslogtreecommitdiff
path: root/gdb/features
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-08-24 18:01:15 +0000
committerTom Tromey <tromey@redhat.com>2008-08-24 18:01:15 +0000
commit803e109716e0c30157ef2bd8e446e780e1f70a02 (patch)
tree7112a9eb5dbc47de190f2ea4af7d8c612b6da8f2 /gdb/features
parent876cecd0ee02971f527439b3535cc012dc5717f5 (diff)
downloadgdb-803e109716e0c30157ef2bd8e446e780e1f70a02.zip
gdb-803e109716e0c30157ef2bd8e446e780e1f70a02.tar.gz
gdb-803e109716e0c30157ef2bd8e446e780e1f70a02.tar.bz2
* rs6000-tdep.c (rs6000_builtin_type_vec128): Don't use
TYPE_FLAGS. * features/rs6000/powerpc-vsx32l.c (initialize_tdesc_powerpc_vsx32l): Update. * features/rs6000/powerpc-vsx32.c (initialize_tdesc_powerpc_vsx32): Update. * features/rs6000/powerpc-vsx64.c (initialize_tdesc_powerpc_vsx64): Update. * features/rs6000/powerpc-vsx64l.c (initialize_tdesc_powerpc_vsx64l): Update. * target-descriptions.c (maint_print_c_tdesc_cmd): Emit TYPE_VECTOR, not TYPE_FLAGS.
Diffstat (limited to 'gdb/features')
-rw-r--r--gdb/features/rs6000/powerpc-vsx32.c2
-rw-r--r--gdb/features/rs6000/powerpc-vsx32l.c2
-rw-r--r--gdb/features/rs6000/powerpc-vsx64.c2
-rw-r--r--gdb/features/rs6000/powerpc-vsx64l.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/gdb/features/rs6000/powerpc-vsx32.c b/gdb/features/rs6000/powerpc-vsx32.c
index 560b48f..19e7517 100644
--- a/gdb/features/rs6000/powerpc-vsx32.c
+++ b/gdb/features/rs6000/powerpc-vsx32.c
@@ -122,7 +122,7 @@ initialize_tdesc_powerpc_vsx32 (void)
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 71, 1, NULL, 128, "vec128");
diff --git a/gdb/features/rs6000/powerpc-vsx32l.c b/gdb/features/rs6000/powerpc-vsx32l.c
index bedf039..0290ee6 100644
--- a/gdb/features/rs6000/powerpc-vsx32l.c
+++ b/gdb/features/rs6000/powerpc-vsx32l.c
@@ -126,7 +126,7 @@ initialize_tdesc_powerpc_vsx32l (void)
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 73, 1, NULL, 128, "vec128");
diff --git a/gdb/features/rs6000/powerpc-vsx64.c b/gdb/features/rs6000/powerpc-vsx64.c
index da6b0fc..32b9796 100644
--- a/gdb/features/rs6000/powerpc-vsx64.c
+++ b/gdb/features/rs6000/powerpc-vsx64.c
@@ -122,7 +122,7 @@ initialize_tdesc_powerpc_vsx64 (void)
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 71, 1, NULL, 128, "vec128");
diff --git a/gdb/features/rs6000/powerpc-vsx64l.c b/gdb/features/rs6000/powerpc-vsx64l.c
index 689ca67..01d9cea 100644
--- a/gdb/features/rs6000/powerpc-vsx64l.c
+++ b/gdb/features/rs6000/powerpc-vsx64l.c
@@ -126,7 +126,7 @@ initialize_tdesc_powerpc_vsx64l (void)
append_composite_type_field (type, xstrdup ("v8_int16"), field_type);
field_type = tdesc_named_type (feature, "v16i8");
append_composite_type_field (type, xstrdup ("v16_int8"), field_type);
- TYPE_FLAGS (type) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (type) = 1;
tdesc_record_type (feature, type);
tdesc_create_reg (feature, "vr0", 73, 1, NULL, 128, "vec128");