This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: --with-dwarf2 and default DWARF version
- From: Michael Eager <eager at eagerm dot com>
- To: Senthil Kumar Selvaraj <senthil_kumar dot selvaraj at atmel dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 26 Aug 2013 09:19:09 -0700
- Subject: Re: --with-dwarf2 and default DWARF version
- Authentication-results: sourceware.org; auth=none
- References: <20130826081217 dot GA431 at atmel dot com> <20130826082324 dot GB21876 at tucnak dot zalov dot cz> <20130826084007 dot GB431 at atmel dot com>
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..) only work with
DWARF2. So I guess the OVERRIDE_OPTIONS hook is the way to go.
Or fix the tools to understand DWARF 4. (Sometimes easier said than done.)
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077