diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-09-18 15:48:23 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-09-18 15:48:23 +0000 |
commit | db9f5df8d2ead51e513b8c36a54241f54bef55b6 (patch) | |
tree | b50c2ac9fb243a108d34d0c72f6de3ee5bc04363 | |
parent | bd6c6e2b809ed691984795a87afe7b64a9d0b47c (diff) | |
download | gdb-db9f5df8d2ead51e513b8c36a54241f54bef55b6.zip gdb-db9f5df8d2ead51e513b8c36a54241f54bef55b6.tar.gz gdb-db9f5df8d2ead51e513b8c36a54241f54bef55b6.tar.bz2 |
* rs6000-tdep.c (rs6000_builtin_type_vec128): Add v2_double
union member.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 126eec1..18347f7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-08-19 Ulrich Weigand <uweigand@de.ibm.com> + + * rs6000-tdep.c (rs6000_builtin_type_vec128): Add v2_double + union member. + 2009-09-17 Joel Brobecker <brobecker@adacore.com> Fix a build failure on pa-hpux: diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index cd96115..fae5c28 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2311,6 +2311,7 @@ rs6000_builtin_type_vec128 (struct gdbarch *gdbarch) type = union __ppc_builtin_type_vec128 { uint128_t uint128; + double v2_double[2]; float v4_float[4]; int32_t v4_int32[4]; int16_t v8_int16[8]; @@ -2323,6 +2324,8 @@ rs6000_builtin_type_vec128 (struct gdbarch *gdbarch) t = arch_composite_type (gdbarch, "__ppc_builtin_type_vec128", TYPE_CODE_UNION); append_composite_type_field (t, "uint128", bt->builtin_uint128); + append_composite_type_field (t, "v2_double", + init_vector_type (bt->builtin_double, 2)); append_composite_type_field (t, "v4_float", init_vector_type (bt->builtin_float, 4)); append_composite_type_field (t, "v4_int32", |