PATCH: Use stabs for Linux/mips (Re: binutils is broken on ELF/MIPS)

Daniel Jacobowitz drow@mvista.com
Mon Jun 3 18:40:00 GMT 2002


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
detail.

(2.13 is on the horizon already; I'd really like this fixed)

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list