From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: egcs@cygnus.com Subject: Re: Dwarf 1 or 2? Date: Fri, 12 Dec 1997 18:04:00 -0000 Message-id: References: <199712130128.RAA28826.cygnus.egcs@kankakee.wrs.com> X-SW-Source: 1997-12/msg00783.html >>>>> Mike Stump 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