From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11196 invoked by alias); 8 May 2008 18:46:17 -0000 Received: (qmail 11166 invoked by uid 22791); 8 May 2008 18:46:17 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 May 2008 18:45:58 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id E31683C1EE; Thu, 8 May 2008 11:45:56 -0700 (PDT) Subject: Re: debugging multi threaded application From: Michael Snyder To: Mudeem Siddiqui Cc: gdb@sourceware.org In-Reply-To: <87A697E50899F541B77272C331CEB7440169E37F@exchange.Q-DOMAIN> References: <87A697E50899F541B77272C331CEB7440169E37F@exchange.Q-DOMAIN> Content-Type: text/plain Date: Thu, 08 May 2008 18:46:00 -0000 Message-Id: <1210272356.4615.489.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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/msg00069.txt.bz2 On Wed, 2008-05-07 at 18:16 -0700, Mudeem Siddiqui wrote: > Hi, > > 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 > > [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 > > set solib-search-path ../../root/lib > set solib-absolute-prefix ../../root/lib > > Any pointers what I might be missing. We need to know more about your host and target machines, operating systems, and how gdb and gdbserver were configured.