Meta bug for DWARF 5 support.
I noticed that gdb doesn't support DW_FORM_ref_sup*. But that probably isn't really needed unless someone is updating dwz to DWARF 5, see bug#24726.
(In reply to Tom Tromey from comment #1) > I noticed that gdb doesn't support DW_FORM_ref_sup*. > But that probably isn't really needed unless someone > is updating dwz to DWARF 5, see bug#24726. Do note that bug#27440 was resolved by: commit 4e55da9f7700dda5936c7a486651674dbc782a7e Author: Jakub Jelinek <jakub@redhat.com> Date: Sat Feb 20 10:47:53 2021 +0100 PR27440 - add --dwarf-5 support This adds --dwarf-5 support, so that dwz can emit standard DWARF 5 Supplementary object files with .debug_sup section and debug info referring to those with .debug_sup section instead of .gnu.debugaltlink and standard DWARF 5 DW_FORM_*sup instead of the DW_FORM_GNU_*alt forms.
(In reply to Mark Wielaard from comment #2) > (In reply to Tom Tromey from comment #1) > > I noticed that gdb doesn't support DW_FORM_ref_sup*. > > But that probably isn't really needed unless someone > > is updating dwz to DWARF 5, see bug#24726. > > Do note that bug#27440 was resolved by: Hahaha I even sent a patch in 2021: https://sourceware.org/pipermail/gdb-patches/2021-February/176508.html I'll see about updating that. Though there's a whole thread, so maybe there's some reason I dropped it.
I filed bug#32808 to track the form thing.