From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10116 invoked by alias); 15 Nov 2008 17:22:24 -0000 Received: (qmail 10016 invoked by uid 22791); 15 Nov 2008 17:22:23 -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; Sat, 15 Nov 2008 17:21:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4D4D521E48E; Sat, 15 Nov 2008 12:21:46 -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 LkaTbnNdDyaK; Sat, 15 Nov 2008 12:21:46 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1430821E488; Sat, 15 Nov 2008 12:21:45 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 840F3E7ACD; Sat, 15 Nov 2008 09:21:43 -0800 (PST) Date: Sat, 15 Nov 2008 23:36:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Re: [RFC] Warn about what will happen to all inferiors on "quit" Message-ID: <20081115172143.GH12802@adacore.com> References: <200811132155.16758.pedro@codesourcery.com> <20081113225817.GO5112@adacore.com> <200811141944.11647.pedro@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200811141944.11647.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/msg00390.txt.bz2 > Here's an updated patch that adds some more commenting and > makes things a bit clearer codewise, I guess. I've also updated the > output a wee bit in the case where there are just too many inferiors > to print --- now it tells how many extra will be detached > or killed, instead of just saying how many there are. This looks nice to me :). > 2008-11-13 Pedro Alves > > gdb/ > * top.c (struct piqa_args): New. > (print_inferior_quit_action): New. > (quit_confirm): Rewrite to print info about all inferiors. > > 2008-11-13 Pedro Alves > > gdb/testsuite/ > * gdb.threads/killed.exp, gdb.threads/manythreads.exp, > gdb.threads/staticthreads.exp: Adjust. -- Joel