From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10732 invoked by alias); 14 May 2007 18:23:56 -0000 Received: (qmail 10519 invoked by uid 22791); 14 May 2007 18:23:54 -0000 X-Spam-Check-By: sourceware.org Received: from mlbe2k2.cs.myharris.net (HELO mlbe2k2.cs.myharris.net) (137.237.90.89) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 May 2007 18:23:48 +0000 Received: from mail pickup service by mlbe2k2.cs.myharris.net with Microsoft SMTPSVC; Mon, 14 May 2007 14:23:37 -0400 Received: from mlbe2k4.cs.myharris.net ([192.107.153.232]) by mlbe2k2.cs.myharris.net with Microsoft SMTPSVC(6.0.3790.1830); Mon, 14 May 2007 14:23:36 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Thread debugging. GDB for ARM. Date: Mon, 14 May 2007 18:23:00 -0000 Message-ID: <6E19E11D3D7A5F4D937E5C2721FC310D059B8A0A@mlbe2k4.cs.myharris.net> In-Reply-To: <1179148650.10308.11.camel@DAFPC5206.ikusi.net> References: <1179148650.10308.11.camel@DAFPC5206.ikusi.net> From: "Williams, Allen" To: , X-IsSubscribed: yes 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/msg00049.txt.bz2 Did you try the threads stuff in Section 4.9 of the documentation? I've ne= ver used arm, but it works for native debugging; although I guess this is a= na=EFve suggestion;-) -----Original Message----- From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf = Of gomrioje Sent: Monday, May 14, 2007 9:18 AM To: gdb@sourceware.org Subject: Thread debugging. GDB for ARM. 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=3Di686-linux --target=3Darm-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:=20 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? --=20 Jesus Gomez Rio R&D Technician Design & Manufacturing Division gomez.j@ikusi.com www.ikusi.es