From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8432 invoked by alias); 30 Jan 2008 23:57:26 -0000 Received: (qmail 8423 invoked by uid 22791); 30 Jan 2008 23:57:26 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.177) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jan 2008 23:57:08 +0000 Received: by py-out-1112.google.com with SMTP id v53so514228pyh.33 for ; Wed, 30 Jan 2008 15:57:07 -0800 (PST) Received: by 10.35.33.5 with SMTP id l5mr1537964pyj.30.1201737427065; Wed, 30 Jan 2008 15:57:07 -0800 (PST) Received: by 10.35.36.15 with HTTP; Wed, 30 Jan 2008 15:57:06 -0800 (PST) Message-ID: <8f2776cb0801301557t2e265b62u56d6df7cbcec1c84@mail.gmail.com> Date: Thu, 31 Jan 2008 04:11:00 -0000 From: "Jim Blandy" To: "Eli Zaretskii" Subject: Re: New scope checking patch Cc: "Rob Quill" , gdb-patches@sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 0f45fed6152b3656 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: 2008-01/txt/msg00839.txt.bz2 On Jan 30, 2008 10:20 AM, Eli Zaretskii wrote: > I actually think that this feature should be described in the node > "Convenience Vars", not in "Variables". The latter describes how to > refer to variables in the program being debugged; while $in_scope is > related (and should perhaps be cross-referenced from "Variables"), > that is not the right place for describing GDB built-ins. That's kind of an interesting point. This is an entirely new kind of entity: it's not a convenience variable, it's a convenience function, or perhaps a new operator. I'm not sure where it should go. I'd expect the primary description to be in "Expressions", in the part that says, "GDB supports these operators, in addition to those common to programming languages".