DWARF5 and .gdb_index/.debug_names

Pedro Alves pedro@palves.net
Tue Sep 1 19:16:46 GMT 2020

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.  

Pedro Alves

More information about the Gdb mailing list