mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
We were failing to add the offsets of the containing struct/union in this case, leading to all offsets being relative to the unnamed struct/union itself. libctf/ PR libctf/30264 * ctf-types.c (ctf_member_info): Add the offset of the unnamed member of the current struct as necessary. * testsuite/libctf-lookup/unnamed-field-info*: New test. |
||
---|---|---|
.. | ||
ambiguous-struct-A.c | ||
ambiguous-struct-B.c | ||
ambiguous-struct.c | ||
ambiguous-struct.lk | ||
conflicting-type-syms-a.c | ||
conflicting-type-syms-b.c | ||
conflicting-type-syms.c | ||
conflicting-type-syms.lk | ||
enum-ctf.c | ||
enum-many-ctf.c | ||
enum-many.lk | ||
enum-symbol-ctf.c | ||
enum-symbol-obj.lk | ||
enum-symbol.c | ||
enum-symbol.lk | ||
enum.c | ||
enum.lk | ||
lookup.exp | ||
struct-iteration-ctf.c | ||
struct-iteration.c | ||
struct-iteration.lk | ||
struct-lookup.c | ||
struct-lookup.lk | ||
unnamed-field-info-ctf.c | ||
unnamed-field-info.c | ||
unnamed-field-info.lk |