> On 07 Jun 2018, at 10:36, Jakub Jelinek <ja...@redhat.com> wrote: > > No, this is just wrong. > The whole point of -gstrict-dwarf is that it doesn't allow any extensions, > and DW_LANG_Ada83/DW_LANG_Ada95 only appeared in DWARF3.
Oh, I hadn't realized that. I see. > Perhaps don't use -gstrict-dwarf if you are using gdb which should handle > not just DWARF extensions, but also DWARF3/4, so even -gdwarf-4 > -gno-strict-dwarf? I'll check our options. Our current default settings in the compiler are intended to accommodate non gdb debuggers, and we can probably proceed with explicit adjustments on the command line in the gdb case indeed. Thanks for your prompt feedback, Olivier