diff options
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r-- | gdb/gnu-v3-abi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index 23c9c94..beff8b1 100644 --- a/gdb/gnu-v3-abi.c +++ b/gdb/gnu-v3-abi.c @@ -471,8 +471,7 @@ gnuv3_baseclass_offset (struct type *type, int index, baton.locexpr = *TYPE_FIELD_DWARF_BLOCK (type, index); struct dynamic_prop prop; - prop.kind = PROP_LOCEXPR; - prop.data.baton = &baton; + prop.set_locexpr (&baton); struct property_addr_info addr_stack; addr_stack.type = type; |