This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Dwarf 1 or 2?
- To: egcs at cygnus dot com
- Subject: Re: Dwarf 1 or 2?
- From: Jason Merrill <jason at cygnus dot com>
- Date: 12 Dec 1997 18:04:49 -0800
- References: <199712130128.RAA28826.cygnus.egcs@kankakee.wrs.com>
- Reply-To: egcs at cygnus dot com
>>>>> Mike Stump <mrs@wrs.com> writes:
> If one was going to switch to dwarf, what would be the better dwarf to
> pick? Dwarf 1, or 2? I ask because quite a few different groups
> (processor abi groups) seem to picking up dwarf 1, and no one seems to
> be behind 2 (except Linux and sgi).
Dwarf 2 is clearly technically superior. Dwarf 1 has more existing
implementations, and therefore more political clout.
> I'm interested in user experiences with dwarf 2 systems, (sparc v9
> linux, iris6) with gdb and how well it holds up in relationship to
> stabs.
One important win of dwarf2 over stabs on x86 linux is that it allows for
debugging of frame-pointerless code. In theory, that is; gdb doesn't
grok the frame unwind info yet, but all the necessary info is there.
Jason