GCC 4.6.1 emits discriminators in DWARF2 mode

Paulo J. Matos paulo@matos-sorge.com
Thu Oct 20 15:25:00 GMT 2011


On 20/10/11 15:06, Anitha Boyapati wrote:
>
> Firstly, aren't discriminators introduced in DWARF 4? Little more
> digging shows that the following fix is missing in 4.6.1 release. It
> breaks the current dwarf2 parsers/readers. I think it is worth filing
> a bug.
>

Anitha, if you only want dwarf2 produced, with no extensions you should 
use on the command line -gdwarf-2 -gstrict-dwarf. That should block any 
extensions to dwarf2.

-- 
PMatos



More information about the Gcc mailing list