https://sourceware.org/bugzilla/show_bug.cgi?id=30264

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_40-branch branch has been updated by Nick Alcock
<n...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bddd62e188c120600857209ede4a23ab3ccc4cac

commit bddd62e188c120600857209ede4a23ab3ccc4cac
Author: Nick Alcock <nick.alc...@oracle.com>
Date:   Thu Mar 23 00:15:17 2023 +0000

    libctf: get the offsets of fields of unnamed structs/unions right

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to