From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18752 invoked by alias); 20 Nov 2007 20:12:42 -0000 Received: (qmail 18741 invoked by uid 22791); 20 Nov 2007 20:12:41 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Nov 2007 20:12:30 +0000 Received: (qmail 25501 invoked from network); 20 Nov 2007 20:12:28 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 20 Nov 2007 20:12:28 -0000 To: Nick Roberts Cc: Nathan Sidwell , gdb@sourceware.org Subject: Re: Non-stop multi-threaded debugging References: <4743178A.3050501@codesourcery.com> <18243.13661.579428.128690@kahikatea.snap.net.nz> From: Jim Blandy Date: Tue, 20 Nov 2007 20:12:00 -0000 In-Reply-To: <18243.13661.579428.128690@kahikatea.snap.net.nz> (Nick Roberts's message of "Wed, 21 Nov 2007 08:28:29 +1300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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: 2007-11/txt/msg00200.txt.bz2 Nick Roberts writes: > > - We're to implement asynchronous interaction with GDB. > > > > GDB will be responsive to commands while the program is running. > > This is mostly a consequence of supporting non-stop multi-threaded > > debugging: it's the degenerate case where no threads happen to be > > stopped. > > I don't expect Jim will cut his holiday short to answer this, so this is > for when he gets back: > > Will this use any of the code in the patch that I sent you, or will you use > an entirely different approach? We won't be using an entirely different approach; the existing event loop seems to be adequate for most purposes. And we'll certainly need to do something like what you did with the async_signal_hook. So it's likely we'll be using at least portions of your patch.