From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21038 invoked by alias); 3 Jun 2002 05:09:12 -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 21030 invoked from network); 3 Jun 2002 05:09:11 -0000 Received: from unknown (HELO branoic) (66.19.120.60) by sources.redhat.com with SMTP; 3 Jun 2002 05:09:11 -0000 Received: from drow by branoic with local (Exim 3.35 #1 (Debian)) id 17Ek5b-0004zM-00; Mon, 03 Jun 2002 01:09:07 -0400 Date: Sun, 02 Jun 2002 22:09:00 -0000 From: Daniel Jacobowitz To: "H . J . Lu" Cc: GDB , gcc@gcc.gnu.org Subject: Re: Does gdb 5.2 support gcc 3.1.1 on Linux/mips? Message-ID: <20020603050906.GA19164@branoic.them.org> Mail-Followup-To: "H . J . Lu" , GDB , gcc@gcc.gnu.org References: <20020602143627.A10506@lucon.org> <20020603010003.GA16363@branoic.them.org> <20020602194326.A14976@lucon.org> <20020603050101.GA18906@branoic.them.org> <20020602220534.B17122@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020602220534.B17122@lucon.org> User-Agent: Mutt/1.3.28i X-SW-Source: 2002-06/txt/msg00015.txt.bz2 On Sun, Jun 02, 2002 at 10:05:34PM -0700, H . J . Lu wrote: > On Mon, Jun 03, 2002 at 01:01:01AM -0400, Daniel Jacobowitz wrote: > > On Sun, Jun 02, 2002 at 07:43:26PM -0700, H . J . Lu wrote: > > > On Sun, Jun 02, 2002 at 09:00:03PM -0400, Daniel Jacobowitz wrote: > > > > On Sun, Jun 02, 2002 at 02:36:27PM -0700, H . J . Lu wrote: > > > > > When I tried to debug gcc 3.1.1 on Linux/mips, I got > > > > > > > > > > # gdb xgcc > > > > > GNU gdb 5.2-0.5 (5.2.0_2002-05-23-cvs) > > > > > ... > > > > > DW_FORM_strp pointing outside of .debug_str section > > > > > > > > > > gdb 5.2 works fine on Linux/x86 with gcc 3.1.1. Has anyone tried gdb > > > > > 5.2 with gcc 3.1/3.2 running on any mips targets? > > > > > > > > My memory is hazy, but I believe this was a linker bug. Are you using > > > > a current version of ld? > > > > > > > > > > Yes. > > > > Then could you check if the produced binary is incorrect? That error > > usually indicates linker error. > > Did you imply gdb 5.2 worked fine for you with gcc 3.1.1 running on > your mips platform? My Linux/mipsel gcc 3.1.1 seems to work ok > otherwise: > > http://gcc.gnu.org/ml/gcc-testresults/2002-06/msg00069.html I haven't tried it in a while, but 3.1 snapshots worked fine with 5.2 release, yes. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer