From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16475 invoked by alias); 8 May 2008 01:16:46 -0000 Received: (qmail 16466 invoked by uid 22791); 8 May 2008 01:16:45 -0000 X-Spam-Check-By: sourceware.org Received: from mail.quartics.com (HELO mail.quartics.com) (66.162.39.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 May 2008 01:16:18 +0000 Received: from exchange.quartics.com ([192.168.168.9]) by mail.quartics.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 7 May 2008 18:16:16 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: debugging multi threaded application Date: Thu, 08 May 2008 01:16:00 -0000 Message-ID: <87A697E50899F541B77272C331CEB7440169E37F@exchange.Q-DOMAIN> From: "Mudeem Siddiqui" 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: 2008-05/txt/msg00064.txt.bz2 Hi, =20 I am trying to debug a multithreaded application using gdbserver and gdb. I crossed compiled gdb with --enable-threads option. When I start the debugger on the host i don't get the print "Using host libthread_db library". and when I conenct the debugger to remote target I get =20 [New Thread 127] 0x00000000 in ?? () I am also not able to get any info using info threads. I have set LD_LIBRARY_PATH. I have also tried giving the path of the libthread_db at the host gdb =20 set solib-search-path ../../root/lib set solib-absolute-prefix ../../root/lib Any pointers what I might be missing.=20 Thanks Mudeem