From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15573 invoked by alias); 20 Nov 2001 07:17:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15532 invoked from network); 20 Nov 2001 07:17:37 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 20 Nov 2001 07:17:37 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id XAA18085; Mon, 19 Nov 2001 23:17:35 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.9.3/8.9.3) id AAA17563; Tue, 20 Nov 2001 00:17:10 -0700 Date: Wed, 07 Nov 2001 22:48:00 -0000 From: Kevin Buettner Message-Id: <1011120071710.ZM17562@ocotillo.lan> In-Reply-To: Kevin Buettner "Re: [PATCH RFA] lin-lwp.c: Block SIGCHLD events when attaching" (Nov 19, 11:53pm) References: <1011119193045.ZM16376@ocotillo.lan> <20011119113832.A8778@lucon.org> <1011120004229.ZM17105@ocotillo.lan> <1011120022446.ZM17248@ocotillo.lan> <20011119185132.A16148@lucon.org> <1011120065319.ZM17495@ocotillo.lan> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: "H . J . Lu" Subject: Re: [PATCH RFA] lin-lwp.c: Block SIGCHLD events when attaching Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-11/txt/msg00143.txt.bz2 On Nov 19, 11:53pm, Kevin Buettner wrote: > I just tried it. It seems to behave about the same. It usually attaches > okay, but I am able to reproduce the "Cannot find new threads: generic error" > by using Jim's trick of repeatedly attaching and detaching. I now know a little bit more about this problem. First, I should explain that I'm using Jim Blandy's trick of set height 0 break while 1 attach continue detach end The "Cannot find new threads: generic error" seems to occur just (or shortly) after one of the early threads has exited. Tomorrow, I'll write a test to see if it's possible at all to attach to a multithreaded process in which one of the threads has exited. Kevin