From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11178 invoked by alias); 25 Aug 2006 19:41:18 -0000 Received: (qmail 11161 invoked by uid 22791); 25 Aug 2006 19:41:17 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 25 Aug 2006 19:41:14 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id AFD9826A06; Fri, 25 Aug 2006 12:41:12 -0700 (PDT) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07333-04-17; Fri, 25 Aug 2006 12:41:11 -0700 (PDT) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id CCF6026A02; Fri, 25 Aug 2006 12:41:11 -0700 (PDT) Received: from 192.168.92.59 ([192.168.92.59]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Fri, 25 Aug 2006 19:41:11 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 25 Aug 2006 12:41:10 -0700 Subject: Re: restart -> "Can't attach LWP" + hang From: Michael Snyder To: Daniel Jacobowitz Cc: David L , gdb@sourceware.org In-Reply-To: <20060825163055.GA11504@nevyn.them.org> References: <20060825154320.GA9895@nevyn.them.org> <20060825163055.GA11504@nevyn.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 25 Aug 2006 19:41:00 -0000 Message-Id: <1156534870.15644.39.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00198.txt.bz2 On Fri, 2006-08-25 at 12:30 -0400, Daniel Jacobowitz wrote: > On Fri, Aug 25, 2006 at 09:06:42AM -0700, David L wrote: > > Not intentionally, but I'm pretty sure a library I've linked to is > > spawning a thread under the covers. I'm not sure which one. > > Below is a list of my dependencies. In any case, could gdb > > detect that it's multithreaded and prevent me from inserting > > checkpoint or restarting? > > Probably, though I don't know quite how. It's a good idea, might be as simple as querying the internal gdb thread list. Maybe a good first contribution for David L?