From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16501 invoked by alias); 8 Feb 2003 10:36:38 -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 16493 invoked from network); 8 Feb 2003 10:36:37 -0000 Received: from unknown (HELO winder.codepoet.org) (166.70.99.138) by 172.16.49.205 with SMTP; 8 Feb 2003 10:36:37 -0000 Received: by winder.codepoet.org (Postfix, from userid 1000) id 2E8B415787E; Sat, 8 Feb 2003 03:36:37 -0700 (MST) Date: Sat, 08 Feb 2003 10:36:00 -0000 From: Erik Andersen To: Dmytro Bablinyuk Cc: gdb@sources.redhat.com, Daniel Jacobowitz Subject: Re: How to configure gdb on arm-linux (for CDB89712) Message-ID: <20030208103636.GA11381@codepoet.org> Reply-To: andersen@codepoet.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030207132741.GA30489@nevyn.them.org> User-Agent: Mutt/1.3.28i X-Operating-System: Linux 2.4.19-rmk6, Rebel-NetWinder(Intel StrongARM 110 rev 3), 185.95 BogoMips X-No-Junk-Mail: I do not want to get *any* junk mail. X-SW-Source: 2003-02/txt/msg00161.txt.bz2 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... Daniel -- is arm the only architecture for which the .note.ABI-tag section is required for proper gdb behavior? -Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons--