From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3378 invoked by alias); 28 Feb 2008 17:12:01 -0000 Received: (qmail 3368 invoked by uid 22791); 28 Feb 2008 17:12:01 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Feb 2008 17:11:44 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m1SHBgaC008959 for ; Thu, 28 Feb 2008 12:11:42 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1SHBflO014117 for ; Thu, 28 Feb 2008 12:11:41 -0500 Received: from opsy.redhat.com (vpn-15-111.rdu.redhat.com [10.11.15.111]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1SHBfQh030012; Thu, 28 Feb 2008 12:11:41 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 48BD73780C3; Thu, 28 Feb 2008 09:22:13 -0700 (MST) To: gdb-patches@sources.redhat.com Subject: Re: Patch: 'show args' -vs- '--args' References: <20080228164043.GD31695@caradoc.them.org> <20080228165420.GB1287@caradoc.them.org> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Thu, 28 Feb 2008 17:19:00 -0000 In-Reply-To: <20080228165420.GB1287@caradoc.them.org> (Daniel Jacobowitz's message of "Thu\, 28 Feb 2008 11\:54\:20 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-02/txt/msg00481.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> I'm fine with either the above, or setting pre_show_hook manually; I Daniel> didn't like add_setshow_optional_filename_cmd having a different Daniel> signature than all the similar setshow functions. Ok, in that case, I will go with reordering the lines. AFAICT add_setshow_optional_filename_cmd does not return the new command element, and of course adding this would require changing the signature. I'm assuming here that it is not ok to assume that the first element of 'showlist' will be the new command. Tom