Re: [doc, dwarf] Update bit-rotten DWARF option documentation

2016-01-20 Thread Sandra Loosemore
On 01/20/2016 06:52 AM, Jason Merrill wrote: On 01/19/2016 11:31 PM, Sandra Loosemore wrote: -@option{-gdwarf-2} does not accept a concatenated debug level, because -GCC used to support an option @option{-gdwarf} that meant to generate -debug information in version 1 of the DWARF format (which i

Re: [doc, dwarf] Update bit-rotten DWARF option documentation

2016-01-20 Thread Jason Merrill
On 01/19/2016 11:31 PM, Sandra Loosemore wrote: -@option{-gdwarf-2} does not accept a concatenated debug level, because -GCC used to support an option @option{-gdwarf} that meant to generate -debug information in version 1 of the DWARF format (which is very -different from version 2), and it woul

[doc, dwarf] Update bit-rotten DWARF option documentation

2016-01-19 Thread Sandra Loosemore
I thought it was odd to see numerous references to "DWARF 2" in the manual and statements like "This option only works for DWARF 2", when GCC is now emitting DWARF version 4 by default. As far as I can tell from browsing dwarf2out.c, the options documented for "DWARF 2" actually do apply to al