This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [RFC] GDB's mdebug support vs. GCC 3.0


On Fri, Jun 29, 2001 at 01:13:00PM -0700, Daniel Jacobowitz wrote:
> On Fri, Jun 29, 2001 at 01:09:12PM -0700, H . J . Lu wrote:
> > On Fri, Jun 29, 2001 at 12:39:44PM -0700, Daniel Jacobowitz wrote:
> > > The stabs support for mips-linux is now much more complete than it was; from
> > > what I can see this is because we started using config/elfos.h in gcc.  Two
> > > of the gems we get from this are EINCL/BINCL stabs, which as far as I can
> > > see we did not before, and a trailing SO at the end of a file.
> > > 
> > 
> > Since you mentioned mdebug and mips-linux, I assume you are aware that
> > Linux/MIPS no longer uses mdebug. I have changed it to MIPS_STABS_ELF.
> 
> I'm aware of that, yes.  GCC 3.0 emits mdebug, however.  With 3.0.1
> hopefully we can stop using the mdebug code.  Or simply switch to
> DWARF2; I'm still not clear on why we haven't done that already.

I don't think so. GCC 3.0 doesn't emit mdebug, only stabs. It is gas
who does mdebug or MIPS_STABS_ELF.

BTW, gcc 3.0 doesn't work tool well on Linux/mips. I submitted a few
patches. But .....


H.J.


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