https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119766
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> --- In the dwarf 5 standard I read: ... F.2.3 Contents of the Split DWARF Object Files The split DWARF object files each contain the following sections: .debug_abbrev.dwo .debug_info.dwo (for the compilation unit) .debug_info.dwo (one COMDAT section for each type unit) .debug_loclists.dwo .debug_line.dwo .debug_macro.dwo .debug_rnglists.dwo .debug_str_offsets.dwo .debug_str.dwo ... so that seems to confirm that the gcc output is in fact standard conformant. One problem though is that dwp, while supporting multiple .debug_types.dwo sections doesn't seem to support multiple debug_info.dwo sections. Likewise gdb, but that is being fixed atm. Fixing dwp shouldn't be too difficult though, I guess. AFAIU, both gdb and dwp in current shape wouldn't have any problems if a single .debug_info.dwo section would be emitted by gcc.