Re: [PATCH] dwarf2out: Fix up DW_AT_language for COBOL

2025-03-11 Thread Richard Biener
On Tue, 11 Mar 2025, Jakub Jelinek wrote: > Hi! > > Seems the LANG_HOOKS_NAME change for COBOL broke debug info, > in particular instead of DW_LANG_Cobol85 it is now DW_LANG_C. > > Fixed thusly, ok for trunk? OK. > 2025-03-11 Jakub Jelinek > > * dwarf2out.cc (gen_compile_unit_die): U

[PATCH] dwarf2out: Fix up DW_AT_language for COBOL

2025-03-11 Thread Jakub Jelinek
Hi! Seems the LANG_HOOKS_NAME change for COBOL broke debug info, in particular instead of DW_LANG_Cobol85 it is now DW_LANG_C. Fixed thusly, ok for trunk? 2025-03-11 Jakub Jelinek * dwarf2out.cc (gen_compile_unit_die): Use DW_LANG_Cobol85 if language_string is "GCC COBOL" rat