diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-01-15 19:38:19 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-01-15 19:38:19 +0000 |
commit | 08cf96df0ea3a5b8e3d60942c7ed61370900f9b6 (patch) | |
tree | 769249f8a7bc958b05519a960447d54859b58b2a /gdb/rs6000-tdep.c | |
parent | 7064928b6295155c6364b49a96cccb5362711154 (diff) | |
download | gdb-08cf96df0ea3a5b8e3d60942c7ed61370900f9b6.zip gdb-08cf96df0ea3a5b8e3d60942c7ed61370900f9b6.tar.gz gdb-08cf96df0ea3a5b8e3d60942c7ed61370900f9b6.tar.bz2 |
2002-01-15 Elena Zannoni <ezannoni@redhat.com>
[Based on work by Jim Blandy]
* gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
(builtin_type_vec128): Export.
* gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
types.
(builtin_type_vec128): New builtin type for 128 bit vector
registers.
(build_gdbtypes): Initialize builtin_type_v16qi and
builtin_type_v8hi. Create the vec128 register builtin type
structure.
(build_builtin_type_vec128): New function.
(_initialize_gdbtypes): Register builtin_type_v16qi and
builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
* rs6000-tdep.c (rs6000_register_virtual_type): Change type of
AltiVec register to new builtin type.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 147524d..29180c3 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -1550,7 +1550,7 @@ rs6000_register_virtual_type (int n) return builtin_type_int64; break; case 16: - return builtin_type_int128; + return builtin_type_vec128; break; default: return builtin_type_int32; |