https://sourceware.org/bugzilla/show_bug.cgi?id=30264
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Alcock <n...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3672e3262210d1a08a3fdc44569ea8b5696c43cc commit 3672e3262210d1a08a3fdc44569ea8b5696c43cc 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.