From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17393 invoked by alias); 12 Oct 2004 15:56:48 -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 17378 invoked from network); 12 Oct 2004 15:56:47 -0000 Received: from unknown (HELO mail49-R-kan.bigfish.com) (63.161.60.29) by sourceware.org with SMTP; 12 Oct 2004 15:56:47 -0000 Received: from mail49-kan.bigfish.com (localhost.localdomain [127.0.0.1]) by mail49-R-kan.bigfish.com (Postfix) with ESMTP id 807CA8C42B; Tue, 12 Oct 2004 15:56:44 +0000 (UCT) X-BigFish: VPC Received: by mail49-kan (MessageSwitch) id 1097596566982748_10580; Tue, 12 Oct 2004 15:56:06 +0000 (UCT) Received: from mspdsmtp2.mindspeed.com (mspdsmtp2.mindspeed.com [199.33.64.93]) by mail49-kan.bigfish.com (Postfix) with ESMTP id 8BE899C12C; Tue, 12 Oct 2004 15:56:06 +0000 (UCT) Received: from npblnh1.la.mindspeed.com (npblnh1.la.mindspeed.com [10.231.23.16]) by mspdsmtp2.mindspeed.com (8.11.7p1+Sun/8.11.7) with ESMTP id i9CF4pA07078; Tue, 12 Oct 2004 08:04:51 -0700 (PDT) Received: from sophiam1.nice.mindspeed.com ([10.1.124.21]) by npblnh1.la.mindspeed.com (Lotus Domino Release 5.0.12) with ESMTP id 2004101208555709:761934 ; Tue, 12 Oct 2004 08:55:57 -0700 Subject: Re: Remote debugging using gdbserver with threads on ARM linux: No backtrace To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Message-ID: From: philippe.vivarelli@mindspeed.com Date: Wed, 13 Oct 2004 00:31:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2004-10/txt/msg00297.txt.bz2 Hi, Thank you for this first quick answer. As suggested I removed the solid-search-path and the hand SIG32 nostop lines from my .gdbinit file. But it does the same (except I need to to enter "c" several time to continue on signal 32). The librairies in /usr/local/arm-tools/arm-linux/lib/ are comming with the arm-linux toolchain for ARM (cross compiler arm-linux-gcc 3.3.1) The librairies on the target are comming from the Debian distribution for ARM (gcc 3.3.4). What do you recommend ? Make a copy of the libraries comming from the Debian distribution onto the host, and set the solib-absolute-prefix to the path of the copy ? Thanks Philippe Vivarelli |---------+----------------------------> | | Daniel Jacobowitz| | | | | | | | | 12/10/2004 15:42 | | | | |---------+----------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: philippe.vivarelli@mindspeed.com | | cc: gdb@sources.redhat.com | | Subject: Re: Remote debugging using gdbserver with threads on ARM linux: No backtrace | >------------------------------------------------------------------------------------------------------------------------------| 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