Re: GCC 4.6.1 emits discriminators in DWARF2 mode

2011-10-20 Thread Eric Botcazou
> 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. > > http://gcc.gnu.org/viewcvs/trunk/gcc/dwarf2out.c?r1=171846&r2=171852&diff_f

Re: GCC 4.6.1 emits discriminators in DWARF2 mode

2011-10-20 Thread Anitha Boyapati
On 20 October 2011 20:27, Paulo J. Matos wrote: > 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 wo

Re: GCC 4.6.1 emits discriminators in DWARF2 mode

2011-10-20 Thread Paulo J. Matos
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 produce

GCC 4.6.1 emits discriminators in DWARF2 mode

2011-10-20 Thread Anitha Boyapati
Hi, I have recently switched to using GCC 4.6.1 (from 4.5.1) for AVR target which supports only DWARF2 format. Now I notice a change in .debug_line section format in 4.6.1. A quick look at the assembly shows that '.loc' directives are emitted with discriminators. Firstly, aren't discriminators