forked from Imagelibrary/binutils-gdb
gdb: remove TYPE_FIELD_LOC_KIND
Remove TYPE_FIELD_LOC_KIND, replace its uses with type::field + field::loc_kind. Change-Id: Ib124a26365df82ac1d23df7962d954192913bd90
This commit is contained in:
@@ -1438,7 +1438,7 @@ static void
|
||||
gen_static_field (struct agent_expr *ax, struct axs_value *value,
|
||||
struct type *type, int fieldno)
|
||||
{
|
||||
if (TYPE_FIELD_LOC_KIND (type, fieldno) == FIELD_LOC_KIND_PHYSADDR)
|
||||
if (type->field (fieldno).loc_kind () == FIELD_LOC_KIND_PHYSADDR)
|
||||
{
|
||||
ax_const_l (ax, TYPE_FIELD_STATIC_PHYSADDR (type, fieldno));
|
||||
value->kind = axs_lvalue_memory;
|
||||
|
||||
Reference in New Issue
Block a user