Re: DWARF5 and .gdb_index/.debug_names

Eric Christopher via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CALehDX61GtycMuGxOKQ1b2wJW2FcgcZgVd4trJvvePNXYA9kUg@mail.gmail.com>
On Tue, Sep 1, 2020 at 3:17 PM Pedro Alves <[email protected]> wrote:

> On 8/30/20 6:18 PM, Mark Wielaard wrote:
> > dwz does support .gdb_index rewriting, but doesn't know about
> > .debug_names yet. So could we as a first step, when switching the
> > DWARF5 keep using .gdb_index? At least till any issues with gdb
> > .debug_names are resolved and dwz supports it?
>
> I'm not aware of anything that would force use of DWARF5 to also
> imply use of .debug_names, or that would prevent using .gdb_index.
> AFAIK, we can treat them as orthogonal.
>
>
Exactly. :)

debug_names was an attempt to get a "this is one documented way to do it
that doesn't contain debugger internals" rather than anything endemic to
dwarf5.

-eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.