From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24622 invoked by alias); 17 May 2007 12:34:15 -0000 Received: (qmail 24602 invoked by uid 22791); 17 May 2007 12:34:13 -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; Thu, 17 May 2007 12:34:03 +0000 Received: from srviku004.ikusi.net ([192.168.202.14]) by correo.ikusi.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 17 May 2007 14:33:57 +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 ; Thu, 17 May 2007 12:33:57 +0000 Received: from DAFPC5206 by webmail.ikusi.com; 17 May 2007 14:34:12 +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: <20070516181055.GA16476@caradoc.them.org> References: <20070515125816.GA13421@caradoc.them.org> <1179249238.6692.12.camel@DAFPC5206.ikusi.net> <20070515172110.GA27784@caradoc.them.org> <1179329274.6692.30.camel@DAFPC5206.ikusi.net> <20070516153502.GA8429@caradoc.them.org> <1179336833.6692.42.camel@DAFPC5206.ikusi.net> <20070516173752.GA14525@caradoc.them.org> <1179337620.6692.49.camel@DAFPC5206.ikusi.net> <20070516175207.GA15384@caradoc.them.org> <1179338692.6692.56.camel@DAFPC5206.ikusi.net> <20070516181055.GA16476@caradoc.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 17 May 2007 12:34:00 -0000 Message-Id: <1179405252.6692.65.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-15180.001 X-TM-AS-Result: No--8.884900-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/msg00067.txt.bz2 Thanks all, specially Daniel. Changing the library libpthread to the right version, let me to set breakpoints in the threads. But still something is not working: In a simple application, I get an infinite backtrace in the gdb console, when it stops in a breakpoint inside a thread. (always as: #149 0x400c3f78 in pthread_start_thread () from /app/arm/bitbaketmp/staging/arm-linux/lib/libpthread.so.0 #150 0x400c3f78 in pthread_start_thread () from /app/arm/bitbaketmp/staging/arm-linux/lib/libpthread.so.0 #151 0x400c3f78 in pthread_start_thread () from /app/arm/bitbaketmp/staging/arm-linux/lib/libpthread.so.0 ..........) On Wed, 2007-05-16 at 14:10 -0400, Daniel Jacobowitz wrote: > I'm out of ideas. I recommend you debug gdbserver to see why it > thinks there is a mismatch. >