This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Dwarf 1 or 2?


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]