From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1298 invoked by alias); 14 May 2007 13:17:41 -0000 Received: (qmail 1284 invoked by uid 22791); 14 May 2007 13:17:40 -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; Mon, 14 May 2007 13:17:33 +0000 Received: from srviku004.ikusi.net ([192.168.202.14]) by correo.ikusi.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 14 May 2007 15:17:29 +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 ; Mon, 14 May 2007 13:17:29 +0000 Received: from DAFPC5206 by webmail.ikusi.com; 14 May 2007 15:17:30 +0200 Subject: Thread debugging. GDB for ARM. From: gomrioje Reply-To: gomez.j@ikusi.es To: gdb@sourceware.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 14 May 2007 13:17:00 -0000 Message-Id: <1179148650.10308.11.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-15170.001 X-TM-AS-Result: No--4.273500-5.000000-31 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/msg00046.txt.bz2 Could you give me a hint about thread debugging running on arm? My configuration: Host Linux PC -> gdb $ /usr/local/bin/gdb --version GNU gdb 6.4.90 This GDB was configured as "--host=i686-linux --target=arm-linux" Target ARM (AT91RM9200) -> gdbserver # ./gdbserver --version 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" The thread library of gdbserver: libthread_db.so.1->libthread_db-1.0.so I am trying to debug a thread application (POSIX), using: libpthread.so.0->libpthread-0.10.so The problem is that I can not get into the threads code... No breakpoints, nothing... but it works ok in the main process. Could you help me? -- Jesus Gomez Rio R&D Technician Design & Manufacturing Division gomez.j@ikusi.com www.ikusi.es