From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23093 invoked by alias); 13 Nov 2008 22:59:02 -0000 Received: (qmail 23017 invoked by uid 22791); 13 Nov 2008 22:59:01 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Nov 2008 22:58:21 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A7E251EE764; Thu, 13 Nov 2008 17:58:19 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NcEqEDr7H7PI; Thu, 13 Nov 2008 17:58:19 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 63D4E1EE75D; Thu, 13 Nov 2008 17:58:19 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 3430EE7ACD; Thu, 13 Nov 2008 14:58:17 -0800 (PST) Date: Fri, 14 Nov 2008 08:37:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [RFC] Warn about what will happen to all inferiors on "quit" Message-ID: <20081113225817.GO5112@adacore.com> References: <200811132155.16758.pedro@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811132155.16758.pedro@codesourcery.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00310.txt.bz2 > (gdb) q > A debugging session is active. > > Inferior 1 [process 17555] will be killed. > > Do you still want to close the debugger? (y or n) [...] > (gdb) q > A debugging session is active. > > Inferior 1 [process 22005] will be killed. > Inferior 2 [process 22323] will be killed. > Inferior 3 [process 22656] will be detached. > > Do you still want to close the debugger? (y or n) > > What do you think of something like that? That looks pretty good to me :). > +struct piqa_args > +{ > + int count; > + struct ui_file *stb; > +}; Hmmm, given the relatively cryptic name of the structure, a little comment explaining what it's for would probably be useful... -- Joel