From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8278 invoked by alias); 31 Dec 2008 04:10:44 -0000 Received: (qmail 8269 invoked by uid 22791); 31 Dec 2008 04:10:43 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_23 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 31 Dec 2008 04:10:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EF90B2A962D; Tue, 30 Dec 2008 23:10:06 -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 nk9nH99Vf8Xd; Tue, 30 Dec 2008 23:10:06 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 6CFDF2A9619; Tue, 30 Dec 2008 23:10:06 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id E9A43E7ACD; Wed, 31 Dec 2008 08:09:58 +0400 (RET) Date: Wed, 31 Dec 2008 04:10:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org, Eli Zaretskii , ams@gnu.org, Thomas Schwinge Subject: Re: eliminate deprecated_add_set_cmd Message-ID: <20081231040958.GB31595@adacore.com> References: <200812310114.45103.pedro@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812310114.45103.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-12/txt/msg00469.txt.bz2 My 2 cents: For these particular commands, I think it's fine to change their name. I suspect only a few people would use them, and they won't have much trouble finding the new command (or asking here if not). I would prefer the set and show commands to be consistent, but that's only a very mild preference based purely on aesthetics. > E.g., say, for the x86 debug registers debug output, > > maint show-debug-regs -> maint set show-debug-regs on|off > maint show show-debug-regs I like this one better. > maint gnu-debug -> set debug gnu (, gnu-nat, gnu-hurd, gnu-whatever, ...) > show debug gnu I like this one better. -- Joel