From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25278 invoked by alias); 3 Jul 2002 15:28: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 25266 invoked from network); 3 Jul 2002 15:28:36 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 3 Jul 2002 15:28:36 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E49693E74; Wed, 3 Jul 2002 11:28:34 -0400 (EDT) Message-ID: <3D231822.70003@ges.redhat.com> Date: Wed, 03 Jul 2002 10:09: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: "Martin M. Hunt" Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] add cmd_func() and cmd_func_p() References: <200207021456.42204.hunt@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00058.txt.bz2 > 2002-07-02 Martin M. Hunt > > * top.c (execute_command): Use cmd_func() and cmd_func_p(). > > * cli/cli-decode.c (cmd_func_p): New function. > (cmd_func): New function. > > * command.h: Add cmd_func() and cmd_func_p(). > Yes, definitly. Andrew