From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30981 invoked by alias); 12 Oct 2004 13:42:53 -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 30967 invoked from network); 12 Oct 2004 13:42:51 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 12 Oct 2004 13:42:51 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CHMvS-0000Bm-Ma; Tue, 12 Oct 2004 09:42:50 -0400 Date: Tue, 12 Oct 2004 19:48:00 -0000 From: Daniel Jacobowitz To: philippe.vivarelli@mindspeed.com Cc: gdb@sources.redhat.com Subject: Re: Remote debugging using gdbserver with threads on ARM linux: No backtrace Message-ID: <20041012134250.GA676@nevyn.them.org> Mail-Followup-To: philippe.vivarelli@mindspeed.com, gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00295.txt.bz2 On Tue, Oct 12, 2004 at 09:34:10AM +0200, philippe.vivarelli@mindspeed.com wrote: > The .gdbinit file configured as follow: > hand SIG32 nostop > set complaints 1 > set confirm 1 > set solib-absolute-prefix /dev/null > set solib-search-path /usr/local/arm-tools/arm-linux/lib/ No, that's wrong. Remove the "hand SIG32 nostop". Remove the solib-search-path. Set solib-absolute-prefix to /usr/local/arm-tools/arm-linux. See if that works better. Are you sure the libraries in that directory are both unstripped and otherwise exactly the same as the ones on your target? If you don't use solib-absolute-prefix, we may not find the dynamic linker, so thread breakpoints will not be set properly. -- Daniel Jacobowitz