This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: stabs or ecoff for Linux/mips
- To: Daniel Berlin <dan at cgsoftware dot com>
- Subject: Re: stabs or ecoff for Linux/mips
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Thu, 7 Jun 2001 12:24:05 -0700
- Cc: Stan Shebs <shebs at apple dot com>, GDB <gdb at sourceware dot cygnus dot com>,binutils at sourceware dot cygnus dot com, linux-mips at oss dot sgi dot com
- References: <20010607093149.B13198@lucon.org> <3B1FCAC9.2110A024@apple.com> <873d9cnmad.fsf@cgsoftware.com>
On Thu, Jun 07, 2001 at 03:05:14PM -0400, Daniel Berlin wrote:
> Stan Shebs <shebs@apple.com> writes:
>
> > "H . J . Lu" wrote:
> >>
> >> What is the better debug format for Linux/mips in the terms of gdb
> >> and binutils, stabs or ecoff? I know the future is dwarf2. But I need
> >> something stable now. Since Linux/x86 uses stabs, I lean toward to
> >> stabs. Any comments?
> >
> > Go with stabs and ELF. Neither ecoff's base file format nor the debug
> > info were particularly well-documented (I remember some of the bits in
> > GNU being figured out by reverse engineering!), perpetuating it will
> > just make your life more difficult in the long run. It will also be
> > easier to move to dwarf2 when the opportunity arises.
>
> mdebugread is also an evil piece of code.
That matches my own experiences. In case you haven't noticed, I
have checked in patches to switch Linux/mips to stabs in ELF :-).
H.J.