From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 691 invoked by alias); 1 Aug 2008 20:04:42 -0000 Received: (qmail 683 invoked by uid 22791); 1 Aug 2008 20:04:41 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Aug 2008 20:04:24 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m71K4MqD023069 for ; Fri, 1 Aug 2008 16:04:22 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m71K4LvO031623; Fri, 1 Aug 2008 16:04:21 -0400 Received: from opsy.redhat.com (vpn-10-95.bos.redhat.com [10.16.10.95]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m71K4LPm008538; Fri, 1 Aug 2008 16:04:21 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 47A3C88808D; Fri, 1 Aug 2008 14:04:20 -0600 (MDT) To: gdb-patches@sourceware.org Subject: Re: [RFA][patch 1/9] Yet another respin of the patch with initial Python support References: <20080615181833.uxmo25mg0kko40kw@imap.linux.ibm.com> <1216107418.14956.27.camel@localhost.localdomain> <1216245620.12209.18.camel@localhost.localdomain> <20080718195010.GA14356@caradoc.them.org> <1216653969.31797.6.camel@localhost.localdomain> <20080726182957.GA12363@caradoc.them.org> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Fri, 01 Aug 2008 20:04:00 -0000 In-Reply-To: <20080726182957.GA12363@caradoc.them.org> (Daniel Jacobowitz's message of "Sat\, 26 Jul 2008 14\:29\:57 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-08/txt/msg00019.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: [ gdb.show ] Daniel> I suggest "get" parallel to "set", then. I've been thinking about this, and on further reflection I think both "show" and "get" are too generic. How about "get_parameter"? I picked this because the manual refers to these entities as parameters at one point: @kindex info set To display all the settable parameters and their current values, you can use @code{show} with no arguments; you may also use [ flush and write ] Daniel> Maybe we should move it to a new module gdb._internal then. Daniel> Tom, what do you think? I'm ambivalent about it. I don't see much harm in exposing and documenting these primitives. If it is what you want, though, I will do it. I suppose the wrapper class ought to go in _internal as well. Tom