On Sun, Nov 15, 2020 at 11:41:24PM +0100, Mark Wielaard wrote: > On Tue, 2020-09-29 at 15:56 +0200, Mark Wielaard wrote: > > On Thu, 2020-09-10 at 13:16 +0200, Jakub Jelinek wrote: > > > On Wed, Sep 09, 2020 at 09:57:54PM +0200, Mark Wielaard wrote: > > > > --- a/gcc/doc/invoke.texi > > > > +++ b/gcc/doc/invoke.texi > > > > @@ -9057,13 +9057,14 @@ possible. > > > > @opindex gdwarf > > > > Produce debugging information in DWARF format (if that is supported). > > > > The value of @var{version} may be either 2, 3, 4 or 5; the default > > > > version > > > > -for most targets is 4. DWARF Version 5 is only experimental. > > > > +for most targets is 5 (with the exception of vxworks and darwin which > > > > +default to version 2). > > > > > > I think in documentation we should spell these VxWorks and Darwin/Mac OS X > > > > OK. As attached. > > > > Are we ready to flip the default to 5? > > Ping. It would be good to get this in now so that we can fix issues (if > any) with the DWARF5 support in the general bugfixing stage 3. > > Thanks, > > Mark
> From c04727b6209ad4d52d1b9ba86873961bda0e1724 Mon Sep 17 00:00:00 2001 > From: Mark Wielaard <m...@klomp.org> > Date: Tue, 29 Sep 2020 15:52:44 +0200 > Subject: [PATCH] Default to DWARF5 > > gcc/ChangeLog: > > * common.opt (gdwarf-): Init(5). > * doc/invoke.texi (-gdwarf): Document default to 5. Ok for trunk. Jakub