mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
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:
parent
5624d0a9f3
commit
7495dfdb3a
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user