From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30691 invoked by alias); 26 Jun 2002 14:40:11 -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 30643 invoked from network); 26 Jun 2002 14:40:08 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 26 Jun 2002 14:40:08 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 77D8F3C62; Wed, 26 Jun 2002 10:40:08 -0400 (EDT) Message-ID: <3D19D248.7040102@cygnus.com> Date: Wed, 26 Jun 2002 07:40:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: tromey@redhat.com Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: add_setshow_cmd_full References: <878z53dqr9.fsf@fleche.redhat.com> <3D192849.3080904@cygnus.com> <873cvahaqt.fsf@fleche.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00534.txt.bz2 > That declaration is part of the change, since I wanted to make > add_setshow_cmd public, and add add_setshow_cmd_full as well. The > latter is only used in a few places. > > Would you prefer I use add_setshow_cmd_full everywhere, and just have > 90% of the calls have `NULL, NULL' at the end? I can do that... No, I was looking at them separatly. If I understand right, with the above applied, a new add_setshow_cmd(..), that returns void, can be implemented using add_setshow_cmd_full(). Andrew