aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
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/rs6000-tdep.c
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/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index fa00cc4..966ca1d 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -2128,7 +2128,7 @@ rs6000_builtin_type_vec128 (struct gdbarch *gdbarch)
append_composite_type_field (t, "v16_int8",
init_vector_type (builtin_type_int8, 16));
- TYPE_FLAGS (t) |= TYPE_FLAG_VECTOR;
+ TYPE_VECTOR (t) = 1;
TYPE_NAME (t) = "ppc_builtin_type_vec128";
tdep->ppc_builtin_type_vec128 = t;
}