From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31958 invoked by alias); 7 Mar 2011 20:37:18 -0000 Received: (qmail 31949 invoked by uid 22791); 7 Mar 2011 20:37:17 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Mar 2011 20:37:10 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p27Kb82t020944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Mar 2011 15:37:08 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p27Kb6F9031158; Mon, 7 Mar 2011 15:37:07 -0500 From: Phil Muldoon To: Eli Zaretskii Cc: tromey@redhat.com, gdb-patches@sourceware.org Subject: Re: [patch] Implement set/show callback functions in gdb.Parameter References: <83fwqyhe6y.fsf@gnu.org> Reply-to: pmuldoon@redhat.com X-URL: http://www.redhat.com Date: Mon, 07 Mar 2011 20:51:00 -0000 In-Reply-To: <83fwqyhe6y.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 07 Mar 2011 22:24:05 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2011-03/txt/msg00503.txt.bz2 Eli Zaretskii writes: >> From: Phil Muldoon >> Cc: gdb-patches@sourceware.org >> Date: Mon, 07 Mar 2011 15:58:22 +0000 >> >> >> +@defop Operation {parameter} get_set_string self >> +@value{GDBN} will call this method when a parameter has been >> +invoked via the @code{set} API (for example, @kbd{set foo off}). The > > Calling an operation a "parameter" is not the best idea. Already you > need to talk about "invoking a parameter", which sounds awkward. Can > we find a better word here? Well this is an operation in a gdb.Parameter. Not sure what else to call it. What do you think? >> +@defop Operation {parameter} get_show_string self, svalue > > Is the comma really necessary here? Nope, deleted. Thanks Phil