From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15447 invoked by alias); 13 Nov 2008 23:17:34 -0000 Received: (qmail 15393 invoked by uid 22791); 13 Nov 2008 23:17:33 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Nov 2008 23:16:56 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 2BE3313053; Thu, 13 Nov 2008 15:16:53 -0800 (PST) Received: from [10.20.92.59] (promb-2s-dhcp59.eng.vmware.com [10.20.92.59]) by mailhost2.vmware.com (Postfix) with ESMTP id 148E28E570; Thu, 13 Nov 2008 15:16:53 -0800 (PST) Message-ID: <491CB555.4070006@vmware.com> Date: Fri, 14 Nov 2008 11:14:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Joel Brobecker CC: Pedro Alves , "gdb-patches@sourceware.org" Subject: Re: [RFC] Warn about what will happen to all inferiors on "quit" References: <200811132155.16758.pedro@codesourcery.com> <491CAFDF.7060109@vmware.com> <20081113230000.GP5112@adacore.com> In-Reply-To: <20081113230000.GP5112@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00312.txt.bz2 Joel Brobecker wrote: >> I wonder if you might want to iterate thru the attached/child >> processes, and give the user a choice about what to do with each >> one? > > In my opinion, it would be too painful in practice for the default > case. If the user decides to not follow the default, he can still > cancel the "quit", and then use detach and kill for the processes > he wants to treat differently. Once done, he can quit. Sounds reasonable.