2002-02-03 Daniel Jacobowitz <drow@mvista.com>

* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
        of accessing tag_name directly.
This commit is contained in:
Daniel Jacobowitz 2002-02-03 23:11:33 +00:00
parent 5624d0a9f3
commit 7495dfdb3a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
* ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
of accessing tag_name directly.
2002-02-03 Daniel Jacobowitz <drow@mvista.com>
PR gdb/280

View File

@ -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;
}