From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14143 invoked by alias); 26 Mar 2003 04:05:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 14135 invoked from network); 26 Mar 2003 04:05:43 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 26 Mar 2003 04:05:43 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18y43z-00084J-00; Wed, 26 Mar 2003 00:07:03 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18y2AQ-00078a-00; Tue, 25 Mar 2003 23:05:34 -0500 Date: Wed, 26 Mar 2003 04:05:00 -0000 From: Daniel Jacobowitz To: Kalpesh Jasapara Cc: gdb@sources.redhat.com, linuxppc-dev@lists.linuxppc.org Subject: Re: GDB server and threaded application Message-ID: <20030326040533.GA26741@nevyn.them.org> Mail-Followup-To: Kalpesh Jasapara , gdb@sources.redhat.com, linuxppc-dev@lists.linuxppc.org References: <20030326035830.20755.qmail@web14601.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030326035830.20755.qmail@web14601.mail.yahoo.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-03/txt/msg00353.txt.bz2 On Tue, Mar 25, 2003 at 07:58:30PM -0800, Kalpesh Jasapara wrote: > Hello, > > I am having a problem with remote gdb debugging > using gdbserver to work with multi threads. > The command "info threads" shows only one thread. > > I am using glibc 2.1.3, powerpc-linux-gdb 5.3, > powerpc-linux-gcc 2.9.5 > > Observed that qfThreadInfo packet response contains > only > one thread, not a list of all the threads in our > application. > > How does the all_threads list get populated with the > other > threads? > > Is this feature supported with the versions that we > are using? I recommend you search the archives for this mailing list. I've still not written a good FAQ about this but I've answered the question five or six times. In short, probably your target libraries are not properly available to the host GDB. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer