From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15247 invoked by alias); 29 Nov 2006 15:23:14 -0000 Received: (qmail 15038 invoked by uid 22791); 29 Nov 2006 15:23:12 -0000 X-Spam-Check-By: sourceware.org Received: from imo-m19.mx.aol.com (HELO imo-m19.mx.aol.com) (64.12.137.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Nov 2006 15:23:03 +0000 Received: from Jbbachky@aim.com by imo-m19.mx.aol.com (mail_out_v38_r7.6.) id o.328.117613eb (57880) for ; Wed, 29 Nov 2006 10:22:59 -0500 (EST) Received: from MBLK-D29 (mblk-d29.mblk.aol.com [205.188.149.21]) by air-ia04.mail.aol.com (v114.2) with ESMTP id MAILINIA42-e218456da5d1236; Wed, 29 Nov 2006 10:22:57 -0500 References: <8C8D6E7E15FE5F6-5D0-723B@mblk-d22.sysops.aol.com> <20061115164953.GA31009@nevyn.them.org> <8C8D7E0B004BE30-C20-26F0@mblk-d23.sysops.aol.com> <20061116220412.GA28527@nevyn.them.org> <8C8D88FE433FC88-C20-54B0@mblk-d23.sysops.aol.com> <20061117190759.GA8764@nevyn.them.org> <8C8D89A3DC3857F-C20-593A@mblk-d23.sysops.aol.com> <20061117201433.GB11609@nevyn.them.org> To: gdb@sources.redhat.com Content-Transfer-Encoding: 7bit Subject: Re: gdbserver/gdb-6/4 and lots of pthreads Date: Wed, 29 Nov 2006 15:23:00 -0000 In-Reply-To: <20061117201433.GB11609@nevyn.them.org> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: jbbachky@aim.com X-MB-Message-Type: User Content-Type: text/plain; charset="us-ascii"; format=flowed X-Mailer: AIM WebMail 22250 Received: from 192.146.101.24 by MBLK-D29.sysops.aol.com (205.188.149.21) with HTTP (WebMailUI); Wed, 29 Nov 2006 10:22:57 -0500 Message-Id: <8C8E1E161E7E83A-D40-833E@MBLK-D29.sysops.aol.com> X-AOL-IP: 205.188.149.21 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: 2006-11/txt/msg00223.txt.bz2 Daniel, I had patching problem - grabbing the source from 11/20 (which includes your commit from 11/16) did solve my performance/thrashing problem with "lots of pthreads". As far as I can tell, gdb is doing everything I need it to do with my powerpc shared libraries program. >On Fri, Nov 17, 2006 at 03:01:01PM -0500, jbbachky@aim.com wrote: >> >> >On Fri, Nov 17, 2006 at 01:46:56PM -0500, jbbachky@aim.com wrote: >> >>Sending packet: >> >> >> $QPassSignals:e;10;11;13;14;17;18;1a;1b;1c;1e;1f;20;21;24;25;4c;#af...Ack >> >> > >> >Ignore signal 0xe. In the GDB remote protocol that is SIGALRM. >> > >> I had "handle SIGALRM nostop noprint" in my .gdbinit file I had added >> that while >> digging into this problem a while ago and had forgotten about it. >> Removing it >> and re-running everything doesn't appear to have an effect. In > >That's the default, so it should make no difference. > >> This is the CVS version from Wednesday evening, with your patch >> contained here: >> http://sources.redhat.com/ml/gdb-patches/2006-11/msg00114.html > >That should be fine. But update to today's CVS with no extra patches >just to be sure. > >If it's still doing this, then I would recommend a debugging printf in >linux-low.c, right before the new if statement with the pass_signals[] >check. pass_signals[target_signal_from_host (WSTOPSIG (wstat))] ought >to be set for SIGALRM, and we ought not to return it to GDB, but your >log says we did that. > >-- >Daniel Jacobowitz >CodeSourcery ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.