2002-02-03 Daniel Jacobowitz <drow@mvista.com>
authorDaniel Jacobowitz <drow@false.org>
Sun, 3 Feb 2002 23:18:11 +0000 (23:18 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 3 Feb 2002 23:18:11 +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 115f8a1c8d98fb4212a3c646fa3c585bc0bc770f..37b4abda707d7ed01e468948587a8cdf41c6ca2e 100644 (file)
@@ -1,3 +1,8 @@
+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
index 435718f5d621992b25011321573980cc9acbc5aa..2877f7a1c86e6bf5621c3d6400a3b991cd747862 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;
 }