From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: gdb-patches@sources.redhat.com Subject: Re: [RFC] GDB's mdebug support vs. GCC 3.0 Date: Fri, 29 Jun 2001 13:20:00 -0000 Message-id: <20010629132011.A26294@lucon.org> References: <20010629123944.A3423@nevyn.them.org> <20010629130912.D25862@lucon.org> <20010629131300.A5247@nevyn.them.org> X-SW-Source: 2001-06/msg00538.html 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.