2002-02-03 Daniel Jacobowitz <drow@mvista.com>

* gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
        accessing tag_name directly.
This commit is contained in:
Daniel Jacobowitz 2002-02-03 23:18:11 +00:00
parent 7495dfdb3a
commit 493d28d51b
2 changed files with 6 additions and 1 deletions

View 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

View 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;
}