From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9450 invoked by alias); 8 Feb 2003 15:55:14 -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 9441 invoked from network); 8 Feb 2003 15:55:14 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 8 Feb 2003 15:55:14 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18hZCs-0000Ld-00; Sat, 08 Feb 2003 11:56:03 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18hXJm-0007CU-00; Sat, 08 Feb 2003 10:55:02 -0500 Date: Sat, 08 Feb 2003 15:55:00 -0000 From: Daniel Jacobowitz To: Erik Andersen Cc: Dmytro Bablinyuk , gdb@sources.redhat.com Subject: Re: How to configure gdb on arm-linux (for CDB89712) Message-ID: <20030208155502.GA27662@nevyn.them.org> Mail-Followup-To: Erik Andersen , Dmytro Bablinyuk , gdb@sources.redhat.com References: <20030207132741.GA30489@nevyn.them.org> <20030208103636.GA11381@codepoet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030208103636.GA11381@codepoet.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-02/txt/msg00164.txt.bz2 On Sat, Feb 08, 2003 at 03:36:36AM -0700, Erik Andersen wrote: > On Fri, 7 Feb 2003 08:27:41 -0500, Daniel Jacobowitz wrote: > > This is a known problem between GDB 5.3 and uclibc: uclibc > > doesn't leave the identifying marks that GDB uses to figure out > > that something is a "Linux" binary rather than a "generic ELF" > > binary. Try a CVS snapshot of GDB and I bet it'll work. > > I've just added the .note.ABI-tag section to uClibc's crt0.o > and crt1.o for arm, which lets gdb 5.3 now behave itself when > debugging uClibc binaries on arm. I just tried it, and it > worked as expected -- no more SIGILLs... Note that the next release will behave OK even without it, I tink. > Daniel -- is arm the only architecture for which the > .note.ABI-tag section is required for proper gdb behavior? I don't know offhand; really, it affects all of them, but ARM is just the most visible failure. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer