From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32271 invoked by alias); 4 Jun 2002 02:54:03 -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 32237 invoked from network); 4 Jun 2002 02:53:59 -0000 Received: from unknown (HELO rwcrmhc51.attbi.com) (204.127.198.38) by sources.redhat.com with SMTP; 4 Jun 2002 02:53:59 -0000 Received: from ocean.lucon.org ([12.234.143.38]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020604025359.QNCY11426.rwcrmhc51.attbi.com@ocean.lucon.org>; Tue, 4 Jun 2002 02:53:59 +0000 Received: by ocean.lucon.org (Postfix, from userid 1000) id EC7B6125BB; Mon, 3 Jun 2002 19:53:58 -0700 (PDT) Date: Mon, 03 Jun 2002 19:54:00 -0000 From: "H . J . Lu" To: Doug Evans Cc: Richard Henderson , Jakub Jelinek , echristo@redhat.com, GDB Subject: Re: PATCH: Use stabs for Linux/mips (Re: binutils is broken on ELF/MIPS) Message-ID: <20020603195358.C5377@lucon.org> References: <20020603092959.A27426@lucon.org> <20020603104131.A28590@lucon.org> <20020603115703.A29881@lucon.org> <20020604003246.C20867@sunsite.ms.mff.cuni.cz> <20020603153716.A1294@lucon.org> <20020603162527.A2073@lucon.org> <20020603234058.GA2262@branoic.them.org> <20020603165101.A2466@lucon.org> <20020603174327.B13967@redhat.com> <15612.11068.679819.967953@casey.transmeta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15612.11068.679819.967953@casey.transmeta.com>; from dje@transmeta.com on Mon, Jun 03, 2002 at 07:51:40PM -0700 X-SW-Source: 2002-06/txt/msg00041.txt.bz2 On Mon, Jun 03, 2002 at 07:51:40PM -0700, Doug Evans wrote: > Richard Henderson writes: > > On Mon, Jun 03, 2002 at 04:51:01PM -0700, H . J . Lu wrote: > > > > > It turned out gas doesn't support dwarf debug info for Linux/mipsel > > > > > at all. ".file" and ".loc" don't do much for dwarf. > > > > These directives aren't required for proper operation. > > If they're not present, then gcc will emit the data itself > > with labels and offsets. > > > > If there are any remaining binutils bugs, then they should > > be fixed in binutils. We can require a later binutils > > release for Linux/mipsel. > > fyi, heads up, and all that ... > > See gdb pr 456 for a bug where gdb can handle .file/.loc but > can't handle the raw primitives emitted by gcc. FYI, I looked at the asm output from gcc 3.1.1 for Linux/mipsel. It has .file/.loc. H.J.