From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23565 invoked by alias); 4 Jun 2002 03:28:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23540 invoked from network); 4 Jun 2002 03:28:15 -0000 Received: from unknown (HELO rwcrmhc54.attbi.com) (216.148.227.87) by sources.redhat.com with SMTP; 4 Jun 2002 03:28:15 -0000 Received: from ocean.lucon.org ([12.234.143.38]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020604032814.TGIG13253.rwcrmhc54.attbi.com@ocean.lucon.org>; Tue, 4 Jun 2002 03:28:14 +0000 Received: by ocean.lucon.org (Postfix, from userid 1000) id 1F5CF125BB; Mon, 3 Jun 2002 20:28:13 -0700 (PDT) Date: Mon, 03 Jun 2002 20:28:00 -0000 From: "H . J . Lu" To: Eric Christopher , Jakub Jelinek , binutils@sources.redhat.com, GDB , gcc-patches@gcc.gnu.org Subject: Re: PATCH: Use stabs for Linux/mips (Re: binutils is broken on ELF/MIPS) Message-ID: <20020603202813.A6003@lucon.org> References: <20020604003246.C20867@sunsite.ms.mff.cuni.cz> <20020603153716.A1294@lucon.org> <20020603162527.A2073@lucon.org> <20020603234058.GA2262@branoic.them.org> <20020603165101.A2466@lucon.org> <1023151695.7834.33.camel@ghostwheel.cygnus.com> <20020603180351.A3594@lucon.org> <20020604014000.GA3798@branoic.them.org> <20020603195113.B5377@lucon.org> <20020604030122.GA8860@branoic.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020604030122.GA8860@branoic.them.org>; from drow@mvista.com on Mon, Jun 03, 2002 at 11:01:22PM -0400 X-SW-Source: 2002-06/txt/msg00043.txt.bz2 On Mon, Jun 03, 2002 at 11:01:22PM -0400, Daniel Jacobowitz wrote: > On Mon, Jun 03, 2002 at 07:51:13PM -0700, H . J . Lu wrote: > > 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 > > > detail. > > > > 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 > > gcc 3.1.1. > > Well, it definitely fixes a problem. What else is wrong? I won't have > time to set up a toolchain for another few days. http://sources.redhat.com/ml/binutils/2002-06/msg00020.html http://sources.redhat.com/ml/binutils/2002-06/msg00036.html http://sources.redhat.com/ml/binutils/2002-06/msg00040.html http://sources.redhat.com/ml/binutils/2002-06/msg00047.html H.J.