aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-03 23:11:33 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-03 23:11:33 +0000
commit7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3 (patch)
tree99944a282473dff3502c7cd63cb60ea3708c16bc /gdb/ax-gdb.c
parent5624d0a9f3b9d7a323ffe1c4f02f89f6c9e54e54 (diff)
downloadgdb-7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3.zip
gdb-7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3.tar.gz
gdb-7495dfdb3ad9d2ad92601df374340e3fe5fc8cd3.tar.bz2
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 535b150..aa9f92a 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;
}