diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-09-26 16:34:28 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-10-29 16:44:21 -0400 |
commit | 2ad53ea10c14445d6074814bbdfe46bd787038cb (patch) | |
tree | 754f8b3ea284ae5ef76887619d2fb468b8067bd2 /gdb/gnu-v3-abi.c | |
parent | d8557c3d229589c690a1bef92be434eb663e3bb6 (diff) | |
download | gdb-2ad53ea10c14445d6074814bbdfe46bd787038cb.zip gdb-2ad53ea10c14445d6074814bbdfe46bd787038cb.tar.gz gdb-2ad53ea10c14445d6074814bbdfe46bd787038cb.tar.bz2 |
gdb: remove TYPE_FIELD_LOC_KIND
Remove TYPE_FIELD_LOC_KIND, replace its uses with type::field +
field::loc_kind.
Change-Id: Ib124a26365df82ac1d23df7962d954192913bd90
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r-- | gdb/gnu-v3-abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index 9311371..773d3f8 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -464,7 +464,7 @@ gnuv3_baseclass_offset (struct type *type, int index, return TYPE_BASECLASS_BITPOS (type, index) / 8; /* If we have a DWARF expression for the offset, evaluate it. */ - if (TYPE_FIELD_LOC_KIND (type, index) == FIELD_LOC_KIND_DWARF_BLOCK) + if (type->field (index).loc_kind () == FIELD_LOC_KIND_DWARF_BLOCK) { struct dwarf2_property_baton baton; baton.property_type |