From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26901 invoked by alias); 25 Jun 2002 19:02:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26770 invoked from network); 25 Jun 2002 19:02:35 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 25 Jun 2002 19:02:35 -0000 Received: from fleche.redhat.com (ta0199.peakpeak.com [204.144.244.199]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA28811 for ; Tue, 25 Jun 2002 13:01:52 -0600 Received: by fleche.redhat.com (Postfix, from userid 1000) id 1E79E4F80AA; Tue, 25 Jun 2002 13:14:54 -0600 (MDT) To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: make add_setshow_cmd public References: <87wusndz3l.fsf@fleche.redhat.com> <3D18BC2C.8050007@cygnus.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: I feel partially hydrogenated! Date: Tue, 25 Jun 2002 12:02:00 -0000 In-Reply-To: <3D18BC2C.8050007@cygnus.com> Message-ID: <87ofdzdvbl.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00516.txt.bz2 >>>>> "Andrew" == Andrew Cagney writes: Andrew> Can the public version return void? I looked. There is this code in cli-cmds.c that uses the return value: set_verbose (NULL, 0, c); This whole joke function is pretty stale though and could be removed. IMHO. Also from infcmd.c: set_cmd_completer (c, filename_completer); All other uses (that I've run into so far) are for deprecation. Right now the straightforward translation breaks these uses. Any preferences here? Tom