From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8005 invoked by alias); 16 May 2007 15:27:57 -0000 Received: (qmail 7692 invoked by uid 22791); 16 May 2007 15:27:54 -0000 X-Spam-Check-By: sourceware.org Received: from correo.ikusi.com (HELO correo.ikusi.com) (194.30.89.100) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 16 May 2007 15:27:48 +0000 Received: from srviku004.ikusi.net ([192.168.202.14]) by correo.ikusi.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 16 May 2007 17:27:43 +0200 Received: from 192.168.234.102 ([192.168.234.102]) by srviku004.ikusi.net ([192.168.202.14]) via Exchange Front-End Server webmail.ikusi.com ([192.168.202.18]) with Microsoft Exchange Server HTTP-DAV ; Wed, 16 May 2007 15:27:43 +0000 Received: from DAFPC5206 by webmail.ikusi.com; 16 May 2007 17:27:54 +0200 Subject: Re: Debugging pthread in ARM. From: gomrioje Reply-To: gomez.j@ikusi.es Cc: =?ISO-8859-1?Q?Jes=FAs_G=F3mez_R=EDo?= , gdb@sourceware.org In-Reply-To: <20070515172110.GA27784@caradoc.them.org> References: <1179233344.1389.18.camel@DAFPC5206.ikusi.net> <20070515125816.GA13421@caradoc.them.org> <1179249238.6692.12.camel@DAFPC5206.ikusi.net> <20070515172110.GA27784@caradoc.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 16 May 2007 15:27:00 -0000 Message-Id: <1179329274.6692.30.camel@DAFPC5206.ikusi.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 X-TM-AS-Product-Ver: SMEX-7.0.0.1433-3.6.1039-15178.001 X-TM-AS-Result: No--14.113400-4.000000-4 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00055.txt.bz2 Running the aplication in the PC, I get with command backtrace: (gdb) [Thread debugging using libthread_db enabled] I don't get this message in the cross-debugging with arm. Both the gdb and the gdbserver are: GNU gdbserver 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. gdbserver is free software, covered by the GNU General Public License. This gdbserver was configured as "arm-linux-gnu" GNU gdb 6.4.90 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-linux --target=arm-linux". I guess the libraries for the ARM have no symbols charged. Do I need them to debug my application? Regards, On Tue, 2007-05-15 at 13:21 -0400, Daniel Jacobowitz wrote: > On Tue, May 15, 2007 at 07:13:58PM +0200, gomrioje wrote: > > Thanks Daniel, I point solib-absolute, right now my libraries (info > > sharedlibrary) are like that: > > > > > > >From To Syms Read Shared Object Library > > 0x400284d8 0x400859a4 > > No /app/arm/bitbaketmp/staging/arm-linux/lib/libsqlite.so.0 > > Something is still wrong, since if GDB had found the libraries it > would have read in symbols automatically. Are you getting any > warnings? Are you sure they are exactly the same versions? > > ld-linux.so.2 should be under your solib-absolute-prefix. > > -- Jesus Gomez Rio R&D Technician Design & Manufacturing Division gomez.j@ikusi.com www.ikusi.es ---