2002-05-08 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 8 May 2002 22:58:39 +0000 (22:58 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Wed, 8 May 2002 22:58:39 +0000 (22:58 +0000)
* gdbtypes.c : Add new builtin type for 64 bit vectors.
        (build_gdbtypes): Build builtin_type_v2_float.
(_initialize_gdbtypes): Register new builtin type.

gdb/ChangeLog
gdb/gdbtypes.c

index 8e074703ab4fc3c917ac5468f3bb068fd7e03eff..c179641ca9564d2ceada5a3c39c59cf520a77670 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2002-05-08  Andrew Cagney  <ac131313@redhat.com>
 
        * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section.
index ccff12fa74b5b2a874af5ffe72a38e3ba67c7ad3..1b3b1b9b42d1ca19a272d02366cfa866d121910a 100644 (file)
@@ -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);