DWARF5 and .gdb_index/.debug_names

Eric Christopher echristo@gmail.com
Tue Sep 1 22:00:34 GMT 2020

On Tue, Sep 1, 2020 at 3:17 PM Pedro Alves <pedro@palves.net> 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


More information about the Gdb mailing list