> On Sep 15, 2021, at 11:55 AM, John David Anglin <dave.ang...@bell.net> wrote:
> 
> On 2021-09-15 10:06 a.m., Richard Biener wrote:
>>> Is there a simple way to enable -gstabs in build?
>> Currently not.  If we're retaining more than pdp11 with a non-DWARF
>> config I'm considering to allow STABS by default for those without
>> diagnostics for GCC 12.
>> 
>> With GCC 13 we'll definitely either remove the configurations or
>> leave the target without any support for debug info.
> I tend to think targets without any support for debug information should be 
> removed.  There is
> some time before GCC 13.  This provides a chance for the target to implement 
> DWARF support.

I suppose.  But for pdp11 at least, DWARF and ELF are both somewhat unnatural 
and anachronistic.  PDP11 unixes use much older debug formats, and DEC 
operating systems are more primitive still (no debug symbols at all, of any 
kind).  So for that case at least, supporting the target but without debug 
symbols would not be a crazy option.

Of course, it would be neat to be able to debug PDP-11 code with GDB...

        paul


Reply via email to