OSDN Git Service

2002-02-03 Daniel Jacobowitz <drow@mvista.com>
authordrow <drow>
Sun, 3 Feb 2002 23:18:10 +0000 (23:18 +0000)
committerdrow <drow>
Sun, 3 Feb 2002 23:18:10 +0000 (23:18 +0000)
        * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
        accessing tag_name directly.

gdb/ChangeLog
gdb/gdbtypes.c

index 115f8a1..37b4abd 100644 (file)
@@ -1,5 +1,10 @@
 2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
 
+       * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
+       accessing tag_name directly.
+
+2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
+
        * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
        of accessing tag_name directly.
 
index 435718f..2877f7a 100644 (file)
@@ -809,7 +809,7 @@ init_simd_type (char *name,
   t = init_type (TYPE_CODE_STRUCT, n * TYPE_LENGTH (elt_type), 0, 0, 0);
   t->nfields = 1;
   t->fields = f;
-  t->tag_name = name;
+  TYPE_TAG_NAME (t) = name;
 
   return t;
 }