From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20729 invoked by alias); 9 May 2008 12:20:26 -0000 Received: (qmail 20721 invoked by uid 22791); 9 May 2008 12:20:26 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 May 2008 12:20:06 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id E2B32983EA; Fri, 9 May 2008 12:20:04 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id BE1A698371; Fri, 9 May 2008 12:20:04 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JuRa0-0006PH-0U; Fri, 09 May 2008 08:20:04 -0400 Date: Fri, 09 May 2008 19:08:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org, Eli Zaretskii Subject: Re: [RFC] 09/10 Add "continue --all" Message-ID: <20080509122003.GA24290@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org, Eli Zaretskii References: <200805061649.50105.pedro@codesourcery.com> <20080509014720.GB22833@caradoc.them.org> <200805090307.47327.pedro@codesourcery.com> <200805091308.28842.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805091308.28842.pedro@codesourcery.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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-05/txt/msg00317.txt.bz2 On Fri, May 09, 2008 at 01:08:28PM +0100, Pedro Alves wrote: > - Keep throwing an error with "continue" on running thread, and > really add "continue -a,--all,?" ? If you like the all prefix, then we can keep it even if it isn't strictly an alias to thread apply all. One way would be to register subcommands of "thread apply all" just as all is registered as a subcommand of thread; the help is not very clear about this but you can specify "thread apply 1", too. Another way would be to allow commands to internally register a special function to be called under apply-to-all. If you don't like the all prefix then we can go back to continue --all, or even just continue all. Continue takes a numeric argument and all will not conflict. -- Daniel Jacobowitz CodeSourcery