This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: stabs or ecoff for Linux/mips


"H . J . Lu" <hjl@lucon.org> writes:

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

Stabs is better.  ECOFF can not really support C++.  Note that when
using ECOFF, most GNU tools actually use stabs smuggled in ECOFF (see
ECOFF_IS_STAB, et. al., in include/coff/ecoff.h).  Since the SGI MIPS
ELF toolchain uses ECOFF smuggled in ELF, the GNU tools tend to use
use stabs smuggled in ECOFF smuggled in ELF.  For GNU/Linux/MIPS, it's
probably simpler to use stabs in ELF.

Ian


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