gdb: remove TYPE_FIELD_STATIC_PHYSNAME
Remove TYPE_FIELD_STATIC_PHYSNAME, replace with type::field + field::loc_physname. Change-Id: Ie35d446b67dd1d02f39998b406001bdb7e6d5abb
This commit is contained in:
parent
970db51860
commit
fcbbbd90f0
5 changed files with 4 additions and 5 deletions
|
@ -2960,7 +2960,7 @@ value_static_field (struct type *type, int fieldno)
|
|||
break;
|
||||
case FIELD_LOC_KIND_PHYSNAME:
|
||||
{
|
||||
const char *phys_name = TYPE_FIELD_STATIC_PHYSNAME (type, fieldno);
|
||||
const char *phys_name = type->field (fieldno).loc_physname ();
|
||||
/* type->field (fieldno).name (); */
|
||||
struct block_symbol sym = lookup_symbol (phys_name, 0, VAR_DOMAIN, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue