summaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-02-03 23:11:33 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-02-03 23:11:33 +0000
commita27cbc3948386705ac9bcc6379596b6104e55298 (patch)
treef0193ec6b8dc5d37a092a03909a8a7cca6a0837f /gdb/ax-gdb.c
parent91e35bbd8310a7086ca0c408fba05f39cbe0cf11 (diff)
downloadgdb-a27cbc3948386705ac9bcc6379596b6104e55298.tar.gz
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead of accessing tag_name directly.
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r--gdb/ax-gdb.c2
1 files changed, 1 insertions, 1 deletions
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;
}