From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11173 invoked by alias); 21 Jan 2009 04:16:50 -0000 Received: (qmail 11165 invoked by uid 22791); 21 Jan 2009 04:16:49 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_102 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; Wed, 21 Jan 2009 04:16:42 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3B0CF10635; Wed, 21 Jan 2009 04:16:40 +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 E7313105B9; Wed, 21 Jan 2009 04:16:39 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LPUW6-0006Pz-Qc; Tue, 20 Jan 2009 23:16:38 -0500 Date: Wed, 21 Jan 2009 04:16:00 -0000 From: Daniel Jacobowitz To: teawater Cc: Paul Pluzhnikov , "N. van Bolhuis" , gdb@sourceware.org Subject: Re: gdb doesn't show all threads, but gdbserver does Message-ID: <20090121041638.GA24655@caradoc.them.org> Mail-Followup-To: teawater , Paul Pluzhnikov , "N. van Bolhuis" , gdb@sourceware.org References: <49757D1C.7010309@aimvalley.nl> <8ac60eac0901201037t71b6bd62j8668bd004e933f53@mail.gmail.com> <49763169.8070208@aimvalley.nl> <8ac60eac0901201236i2d3a266akaa673cd12a4ec7cb@mail.gmail.com> <49763F67.5010009@aimvalley.nl> <8ac60eac0901201614o57f3fea8x7cfe84e7c4b4f312@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-01/txt/msg00132.txt.bz2 On Wed, Jan 21, 2009 at 10:35:12AM +0800, teawater wrote: > This part of code in gdb/gdbserver/thread-db.c:thread_db_init. No, what Paul said is correct. The symbol lookup is performed by the GDB client, not by gdbserver - so it uses the copy of libpthread.so on the host. -- Daniel Jacobowitz CodeSourcery