From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2550 invoked by alias); 6 Dec 2002 19:28:17 -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 2542 invoked from network); 6 Dec 2002 19:28:16 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 6 Dec 2002 19:28:16 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18KQ1P-0001dK-00; Fri, 06 Dec 2002 15:28:31 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18KO9a-0001Hn-00; Fri, 06 Dec 2002 14:28:50 -0500 Date: Fri, 06 Dec 2002 11:28:00 -0000 From: Daniel Jacobowitz To: Paul Mundt Cc: gdb@sources.redhat.com Subject: Re: Gdbserver Threading Issues Message-ID: <20021206192849.GA4411@nevyn.them.org> Mail-Followup-To: Paul Mundt , gdb@sources.redhat.com References: <1039206274.11722.85.camel@Origin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1039206274.11722.85.camel@Origin> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00124.txt.bz2 On Fri, Dec 06, 2002 at 03:24:34PM -0500, Paul Mundt wrote: > Hi, > > Getting some interesting behavior out of gdbserver now.. (from 5.3 > branch). If I run a pthreaded application under it, using Daniel's > patch, I only get a single thread reported, regardless of how many are > created. > > However, if I insert a breakpoint into the function each thread is > running, it picks them up fine.. (info threads looks sane then as well). > > Also, if the breakpoint is inserted anywhere else (ie, main()), it still > fails to report additional threads. > > Suggestions? Not without more information. Look at the remote session transcript, see what is going on. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer