From 493d28d51bca5194de1db46ee372c79de2408975 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 3 Feb 2002 23:18:11 +0000 Subject: [PATCH] 2002-02-03 Daniel Jacobowitz * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of accessing tag_name directly. --- gdb/ChangeLog | 5 +++++ gdb/gdbtypes.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 115f8a1c8d9..37b4abda707 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-02-03 Daniel Jacobowitz + + * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of + accessing tag_name directly. + 2002-02-03 Daniel Jacobowitz * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 435718f5d62..2877f7a1c86 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -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; } -- 2.30.2