From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23223 invoked by alias); 20 Jan 2009 20:36:18 -0000 Received: (qmail 23213 invoked by uid 22791); 20 Jan 2009 20:36:18 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Jan 2009 20:36:14 +0000 Received: from zps18.corp.google.com (zps18.corp.google.com [172.25.146.18]) by smtp-out.google.com with ESMTP id n0KKaATm015046 for ; Tue, 20 Jan 2009 20:36:10 GMT Received: from yx-out-2324.google.com (yxj3.prod.google.com [10.190.3.67]) by zps18.corp.google.com with ESMTP id n0KKa674013550 for ; Tue, 20 Jan 2009 12:36:07 -0800 Received: by yx-out-2324.google.com with SMTP id 3so1719364yxj.7 for ; Tue, 20 Jan 2009 12:36:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.140.14 with SMTP id n14mr3002101wfd.201.1232483766547; Tue, 20 Jan 2009 12:36:06 -0800 (PST) In-Reply-To: <49763169.8070208@aimvalley.nl> References: <4974EBFF.307@aimvalley.nl> <49757D1C.7010309@aimvalley.nl> <8ac60eac0901201037t71b6bd62j8668bd004e933f53@mail.gmail.com> <49763169.8070208@aimvalley.nl> Date: Tue, 20 Jan 2009 20:36:00 -0000 Message-ID: <8ac60eac0901201236i2d3a266akaa673cd12a4ec7cb@mail.gmail.com> Subject: Re: gdb doesn't show all threads, but gdbserver does From: Paul Pluzhnikov To: "N. van Bolhuis" Cc: teawater , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2009-01/txt/msg00121.txt.bz2 On Tue, Jan 20, 2009 at 12:17 PM, N. van Bolhuis wrote: > In fact I did just that. I didn't mention it since it's there > (libthread_db.so.1 is loaded into gdb) so this is not the issue. Hmm, I wonder if the "stripped libpthread.so.0" struck again. Could you please do 'ldd /mnt/norbert/mainctrl.exe' on target, note which libpthread.so.0 it is using, and then nm /path/to/libpthread.so.0 | egrep '_version|pthread_threads_events' If this shows 'no symbols', you have stripped libpthread.so.0 on target (but not on host). Don't do that. Do "strip --strip-debug" instead. Cheers, -- Paul Pluzhnikov