Hi David,

On Mon, 2021-01-18 at 11:31 -0500, David Edelsohn wrote:
> On Mon, Jan 18, 2021 at 6:01 AM Mark Wielaard <m...@klomp.org> wrote:
> > Thanks, I hadn't tested against AIX.  Could you also update
> > gcc/doc/invoke.texi (-gdwarf) with the defaults for AIX?
> 
> Other targets override the default DWARF level and I don't see it documented.

It currently says:

   @item -gdwarf
   @itemx -gdwarf-@var{version}
   @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 5 (with the exception of VxWorks and
   Darwin/Mac OS X which default to version 2).

I don't know whether AIX really needs a special mention. But I think it
might be good to mention that it defaults to 4 instead of 5.

Cheers,

Mark

Reply via email to