From: Daniel Jacobowitz Date: Sun, 3 Feb 2002 23:11:33 +0000 (+0000) Subject: 2002-02-03 Daniel Jacobowitz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3;p=binutils-gdb.git 2002-02-03 Daniel Jacobowitz * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead of accessing tag_name directly. --- 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; }