gdb: remove TYPE_FIELD_DWARF_BLOCK
Remove TYPE_FIELD_DWARF_BLOCK, replace with type::field + field::loc_dwarf_block. Change-Id: I10af9410bb5f46d342b8358a7956998c7e804b64
This commit is contained in:
parent
e06c3e112e
commit
51e36a3aaa
3 changed files with 3 additions and 4 deletions
|
@ -2591,7 +2591,7 @@ resolve_dynamic_struct (struct type *type,
|
|||
struct dwarf2_property_baton baton;
|
||||
baton.property_type
|
||||
= lookup_pointer_type (resolved_type->field (i).type ());
|
||||
baton.locexpr = *TYPE_FIELD_DWARF_BLOCK (resolved_type, i);
|
||||
baton.locexpr = *resolved_type->field (i).loc_dwarf_block ();
|
||||
|
||||
struct dynamic_prop prop;
|
||||
prop.set_locexpr (&baton);
|
||||
|
@ -5577,7 +5577,7 @@ copy_type_recursive (struct objfile *objfile,
|
|||
break;
|
||||
case FIELD_LOC_KIND_DWARF_BLOCK:
|
||||
new_type->field (i).set_loc_dwarf_block
|
||||
(TYPE_FIELD_DWARF_BLOCK (type, i));
|
||||
(type->field (i).loc_dwarf_block ());
|
||||
break;
|
||||
default:
|
||||
internal_error (__FILE__, __LINE__,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue