From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8635 invoked by alias); 28 Feb 2008 17:19:00 -0000 Received: (qmail 8600 invoked by uid 22791); 28 Feb 2008 17:18:59 -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; Thu, 28 Feb 2008 17:18:40 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 572D5983A1; Thu, 28 Feb 2008 17:18:38 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 293F898140; Thu, 28 Feb 2008 17:18:38 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JUmOz-0000oC-Ev; Thu, 28 Feb 2008 12:18:37 -0500 Date: Thu, 28 Feb 2008 17:28:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: gdb-patches@sources.redhat.com Subject: Re: Patch: 'show args' -vs- '--args' Message-ID: <20080228171837.GA3077@caradoc.them.org> Mail-Followup-To: Tom Tromey , gdb-patches@sources.redhat.com References: <20080228164043.GD31695@caradoc.them.org> <20080228165420.GB1287@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-02/txt/msg00482.txt.bz2 On Thu, Feb 28, 2008 at 09:22:13AM -0700, Tom Tromey wrote: > >>>>> "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. Right you are. I thought it did. -- Daniel Jacobowitz CodeSourcery