From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21752 invoked by alias); 2 Jun 2009 18:17:34 -0000 Received: (qmail 21735 invoked by uid 22791); 2 Jun 2009 18:17:33 -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 18:17:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 319AC10F7A; Tue, 2 Jun 2009 18:17:25 +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 E78BA1089C; Tue, 2 Jun 2009 18:17:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1MBYY7-0002zE-Od; Tue, 02 Jun 2009 14:17:23 -0400 Date: Tue, 02 Jun 2009 18:17:00 -0000 From: Daniel Jacobowitz To: Paul Pluzhnikov Cc: "Vellemans, Noel" , gdb@sourceware.org Subject: Re: Q: GDB - Threads Message-ID: <20090602181723.GA11310@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0906020941w3064fa70l263b316358c9e38f@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/msg00013.txt.bz2 On Tue, Jun 02, 2009 at 09:41:19AM -0700, Paul Pluzhnikov wrote: > > Both libs have been build on the same system.. (buildroot).. > > Even started from scratch.... > > 88 -rw-r--r-- 1 noel noel 82178 2009-06-02 16:23 libpthread-0.9.30.1.so > > 16 -rw-r--r-- 1 noel noel 13171 2009-06-02 16:23 libthread_db-0.9.30.1.so > > The identical time stamp implies that these were both installed at the > same time, which means they are both built for *target*. > > But you need an identical libthread_db built for *host*. > > This is because GDB (on host) will try to dlopen() libthread_db (which > helps it debug *target* libpthread). I'm not sure what you mean. GDB never uses libthread_db on the host if it is debugging a remote target. -- Daniel Jacobowitz CodeSourcery