PATCH: Use stabs for Linux/mips (Re: binutils is broken on ELF/MIPS)
H . J . Lu
Mon Jun 3 19:51:00 GMT 2002
On Mon, Jun 03, 2002 at 09:40:00PM -0400, Daniel Jacobowitz wrote:
> On Mon, Jun 03, 2002 at 06:03:51PM -0700, H . J . Lu wrote:
> > On Mon, Jun 03, 2002 at 05:48:14PM -0700, Eric Christopher wrote:
> > >
> > > > I tried a dirty, quick change enclosed. I still can't use gdb 5.2 to
> > > > debug gcc 3.1.1 on Linux/mipsel. I don't think it is a good idea to
> > > > make gcc 3.1.1 generate unusable debug info by default..
> > > >
> > >
> > > Definitely not a huge fan of that patch. I have another one from Matt
> > > Green (attached) that I'm not ecstatic about either, but also seems to
> > > work. The correct answer is to make dwarf-2 work under mips. It may
> > > require some reworking though.
> > >
> > Does it really make dwarf-2 work? Does it break MIPS_STABS_ELF?
> It should, without breaking or affecting MIPS_STABS_ELF at all.
> Eric, why don't you like it - or rather, what else do you think "making
> dwarf-2 work under MIPS" means? I think that was the only missing
Well, binutils is currently broken on Linux/mips when gcc 3.1.1 is
used as I have reported. How can you tell dwarf-2 works on mips?
I really like to see the whole thing get fixed. That is gcc 3.1.1
works on Linux/mips and binutils, including readelf, works with
More information about the Gcc-patches