Re: DWARF v2.0 survey question

wilson@cygnus.com (Jim Wilson)
13 Jan 1998 00:21:51 -0500

          From comp.compilers

Related articles
DWARF v2.0 survey question geurts@retarget.com (Werner Geurts) (1998-01-11)
Re: DWARF v2.0 survey question krotoff@such.srcc.msu.su (Alexander Krotoff) (1998-01-13)
Re: DWARF v2.0 survey question meissner@cygnus.com (Michael Meissner) (1998-01-13)
Re: DWARF v2.0 survey question wilson@cygnus.com (1998-01-13)
| List of all articles for this month |
From: wilson@cygnus.com (Jim Wilson)
Newsgroups: comp.compilers
Date: 13 Jan 1998 00:21:51 -0500
Organization: Cygnus Solutions, CA
References: 98-01-038
Keywords: linker, debug

Werner Geurts <geurts@retarget.com> wrote:
>I would like to know on which platforms (including development
>environments for embedded processors) DWARF version 2 is used as
>debugging format.


SGI (irix6), Intel (i960), and Harris (?) are using DWARF 2. SGI's
implementation has a few deviations from the standard. I don't know
about the other implementations; I haven't seen them.


Gcc has had DWARF 2 support since mid-1996, though the lack of FSF
releases has made it difficult for people to get access to it. It is
available via the EGCS project though, and hopefully gcc 2.8 will come
out sometime soon. The gcc support should work for any target that
supports ELF, though the frame info does require some machine
dependent work. This work has been done for a number of architectures
already.


>[What other debug format do ELF systems use? -John]


Sun's Solaris2 uses a variant of stabs. Gcc supports a different
variant of stabs. SGI's Irix5 uses mdebug (an extension of the
svr3/coff debug format). Most other ELF systems use DWARF 1 or a
variant of it. The PowerPC Embedded ABI (PPC EABI) standard for
instance uses DWARF 1 plus extensions.


Jim
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.