| Summary: | [meta] DWARF 5 support | ||
|---|---|---|---|
| Product: | gdb | Reporter: | Tom Tromey <tromey> |
| Component: | symtab | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | mark |
| Priority: | P2 | ||
| Version: | HEAD | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | 17701, 23504, 27930, 27966, 28127, 24820, 27336, 27354, 27388, 31361, 32808 | ||
| Bug Blocks: | |||
|
Description
Tom Tromey
2021-02-22 02:36:08 UTC
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. |