From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2695 invoked by alias); 11 Jul 2007 19:15:41 -0000 Received: (qmail 2687 invoked by uid 22791); 11 Jul 2007 19:15:41 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jul 2007 19:15:39 +0000 Received: (qmail 10036 invoked from network); 11 Jul 2007 19:15:37 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 11 Jul 2007 19:15:37 -0000 To: m.sikorski0@poczta.onet.pl Cc: gdb@sourceware.org Subject: Re: Remote mutli-threaded debugging with large number of threads References: From: Jim Blandy Date: Wed, 11 Jul 2007 19:15:00 -0000 In-Reply-To: (m.'s message of "Wed, 11 Jul 2007 10:27:22 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2007-07/txt/msg00096.txt.bz2 m.sikorski0@poczta.onet.pl writes: > Hello, > I faced recently strange issue using remote gdb debugging (cross i386-ppc). With ~60 threaded application debugging does not work well. > > Info threads returns incomplete information: > (gdb) info threads > 60 Thread 2150 0x00000000 in ?? () > 59 Thread 2151 0x00000000 in ?? () > 58 Thread 2152 0x00000000 in ?? () > 57 Thread 2153 0x00000000 in ?? () > 56 Thread 2155 0x00000000 in ?? () > 55 Thread 2156 0x00000000 in ?? () > 54 Thread 2157 0x00000000 in ?? () > ... That is disappointing. Can you type 'set debug remote 1' and see what information the stub is returning to GDB for these threads?