From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31749 invoked by alias); 2 Jun 2009 19:34:22 -0000 Received: (qmail 31731 invoked by uid 22791); 2 Jun 2009 19:34:13 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Jun 2009 19:34:07 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A7A4310F86; Tue, 2 Jun 2009 19:34:05 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 6EC6A10F7C; Tue, 2 Jun 2009 19:34:05 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MBZkK-00050P-E4; Tue, 02 Jun 2009 15:34:04 -0400 Date: Tue, 02 Jun 2009 19:34:00 -0000 From: Daniel Jacobowitz To: Paul Pluzhnikov Cc: "Vellemans, Noel" , gdb@sourceware.org Subject: Re: Q: GDB - Threads Message-ID: <20090602193404.GA19081@caradoc.them.org> Mail-Followup-To: Paul Pluzhnikov , "Vellemans, Noel" , gdb@sourceware.org References: <1531E53627F1F749B4FE809BF2A4EB67FABA56@WETMEX10.loepfe.com> <1531E53627F1F749B4FE809BF2A4EB67FD9F52@WETMEX10.loepfe.com> <8ac60eac0906020941w3064fa70l263b316358c9e38f@mail.gmail.com> <20090602181723.GA11310@caradoc.them.org> <8ac60eac0906021134u49cf0612uc26fb04bde4a6025@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0906021134u49cf0612uc26fb04bde4a6025@mail.gmail.com> User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2009-06/txt/msg00017.txt.bz2 On Tue, Jun 02, 2009 at 11:34:40AM -0700, Paul Pluzhnikov wrote: > On Tue, Jun 2, 2009 at 11:17 AM, Daniel Jacobowitz wrote: > > > GDB never uses libthread_db on the host > > if it is debugging a remote target. > > Oops. Sorry, my mistake. > > I guess then OP needs to verify that GDB is loading symbols from expected > libpthread ("set verbose on" should show that), and that gdbserver on target > is loading expected libthread_db ("ldd gdbserver" on target should show > that). Right. I don't remember if gdbserver's debug output helps with this or not. -- Daniel Jacobowitz CodeSourcery