From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4673 invoked by alias); 13 Nov 2008 23:00:49 -0000 Received: (qmail 4523 invoked by uid 22791); 13 Nov 2008 23:00:47 -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 23:00:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 40EFE1EE76A; Thu, 13 Nov 2008 18:00:03 -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 FMIUOWsfe9qi; Thu, 13 Nov 2008 18:00:03 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D07641EE768; Thu, 13 Nov 2008 18:00:02 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id D2DC4E7ACD; Thu, 13 Nov 2008 15:00:00 -0800 (PST) Date: Fri, 14 Nov 2008 08:40:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: Pedro Alves , "gdb-patches@sourceware.org" Subject: Re: [RFC] Warn about what will happen to all inferiors on "quit" Message-ID: <20081113230000.GP5112@adacore.com> References: <200811132155.16758.pedro@codesourcery.com> <491CAFDF.7060109@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <491CAFDF.7060109@vmware.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/msg00311.txt.bz2 > 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. -- Joel