diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-05-08 22:58:39 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2002-05-08 22:58:39 +0000 |
commit | 4f1b4b8cc7cd7abcd746aaa003bc74f62c397bd9 (patch) | |
tree | 7804e40505e1ed0a2e0ca1c696e31dd4ce7413bf /gdb/gdbtypes.c | |
parent | 5228b5bd920f623317b0acc3c6d172171067ddd9 (diff) | |
download | gdb-4f1b4b8cc7cd7abcd746aaa003bc74f62c397bd9.tar.gz |
2002-05-08 Elena Zannoni <ezannoni@redhat.com>
* gdbtypes.c : Add new builtin type for 64 bit vectors.
(build_gdbtypes): Build builtin_type_v2_float.
(_initialize_gdbtypes): Register new builtin type.
Diffstat (limited to 'gdb/gdbtypes.c')
-rw-r--r-- | gdb/gdbtypes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index ccff12fa74b..1b3b1b9b42d 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -78,6 +78,7 @@ struct type *builtin_type_v4_int32; struct type *builtin_type_v8_int16; struct type *builtin_type_v16_int8; /* 64 bit long vector types */ +struct type *builtin_type_v2_float; struct type *builtin_type_v2_int32; struct type *builtin_type_v4_int16; struct type *builtin_type_v8_int8; @@ -3317,6 +3318,7 @@ build_gdbtypes (void) builtin_type_v8_int16 = init_vector_type (builtin_type_int16, 8); builtin_type_v16_int8 = init_vector_type (builtin_type_int8, 16); /* 64 bit vectors. */ + builtin_type_v2_float = init_vector_type (builtin_type_float, 2); builtin_type_v2_int32 = init_vector_type (builtin_type_int32, 2); builtin_type_v4_int16 = init_vector_type (builtin_type_int16, 4); builtin_type_v8_int8 = init_vector_type (builtin_type_int8, 8); @@ -3415,6 +3417,7 @@ _initialize_gdbtypes (void) register_gdbarch_swap (&builtin_type_v4_int32, sizeof (struct type *), NULL); register_gdbarch_swap (&builtin_type_v8_int16, sizeof (struct type *), NULL); register_gdbarch_swap (&builtin_type_v16_int8, sizeof (struct type *), NULL); + register_gdbarch_swap (&builtin_type_v2_float, sizeof (struct type *), NULL); register_gdbarch_swap (&builtin_type_v2_int32, sizeof (struct type *), NULL); register_gdbarch_swap (&builtin_type_v8_int8, sizeof (struct type *), NULL); register_gdbarch_swap (&builtin_type_v4_int16, sizeof (struct type *), NULL); |