From 7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 3 Feb 2002 23:11:33 +0000 Subject: [PATCH] 2002-02-03 Daniel Jacobowitz * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead of accessing tag_name directly. --- gdb/ChangeLog | 5 +++++ gdb/ax-gdb.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3b1edb3e606..115f8a1c8d9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-02-03 Daniel Jacobowitz + + * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead + of accessing tag_name directly. + 2002-02-03 Daniel Jacobowitz PR gdb/280 diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index 535b150808d..aa9f92a9610 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -1165,7 +1165,7 @@ find_field (struct type *type, char *name) } error ("Couldn't find member named `%s' in struct/union `%s'", - name, type->tag_name); + name, TYPE_TAG_NAME (type)); return 0; } -- 2.30.2