Re: --with-dwarf2 and default DWARF version

2013-08-26 Thread Michael Eager
On 08/26/13 01:40, Senthil Kumar Selvaraj wrote: It isn't any kind of workaround the above. Apple tools are simply so buggy that they can't grok DWARF later than 2, crash in lots of ways on it. Why do you want DWARF2 rather than DWARF3 or 4? Same reason, some tools (proprietary debugger etc..

Re: --with-dwarf2 and default DWARF version

2013-08-26 Thread Senthil Kumar Selvaraj
On Mon, Aug 26, 2013 at 10:23:24AM +0200, Jakub Jelinek wrote: > On Mon, Aug 26, 2013 at 01:42:18PM +0530, Senthil Kumar Selvaraj wrote: > > The help text for the --with-dwarf2 configure option says it forces > > the default debug format to be DWARF 2. However, the built compiler > > still pr

Re: --with-dwarf2 and default DWARF version

2013-08-26 Thread Jakub Jelinek
On Mon, Aug 26, 2013 at 01:42:18PM +0530, Senthil Kumar Selvaraj wrote: > The help text for the --with-dwarf2 configure option says it forces > the default debug format to be DWARF 2. However, the built compiler > still produces DWARF 4, unless -gdwarf-2 is explicitly specified when > compi

--with-dwarf2 and default DWARF version

2013-08-26 Thread Senthil Kumar Selvaraj
Hi, The help text for the --with-dwarf2 configure option says it forces the default debug format to be DWARF 2. However, the built compiler still produces DWARF 4, unless -gdwarf-2 is explicitly specified when compiling. I see that the darwin target gets around this by using the SUBSU