aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-03 23:18:11 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-03 23:18:11 +0000
commit493d28d51bca5194de1db46ee372c79de2408975 (patch)
tree8f47c89d9f0b9e966f2f5b4955da6711d472dcab /gdb
parent7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3 (diff)
downloadgdb-493d28d51bca5194de1db46ee372c79de2408975.zip
gdb-493d28d51bca5194de1db46ee372c79de2408975.tar.gz
gdb-493d28d51bca5194de1db46ee372c79de2408975.tar.bz2
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of accessing tag_name directly.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbtypes.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 115f8a1..37b4abd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 435718f..2877f7a 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;
}