From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20155 invoked by alias); 18 Jun 2010 17:46:39 -0000 Received: (qmail 20139 invoked by uid 22791); 18 Jun 2010 17:46:37 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Jun 2010 17:46:32 +0000 Received: (qmail 4267 invoked from network); 18 Jun 2010 17:46:30 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Jun 2010 17:46:30 -0000 Message-ID: <4C1BB0EC.3090707@codesourcery.com> Date: Fri, 18 Jun 2010 17:46:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: tromey@redhat.com CC: Stan Shebs , gdb-patches@sourceware.org Subject: Re: [PATCH] $thread convenience variable References: <4C158675.9090001@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-06/txt/msg00412.txt.bz2 Tom Tromey wrote: >>>>>> "Stan" == Stan Shebs writes: >>>>>> > > Stan> Although the original request was for "$thread", it might be better to > Stan> make it "$_thread" instead, so as not to interfere with possible use > Stan> in existing scripts. But I'll only change it if I get enough votes in > Stan> favor. :-) > > I have a vague memory that the last time this came up we decided that > all new built-in convenience variables would start with "_", or > something like that. > I vaguely remember that too, we should probably write it down somewhere. :-) In any case, I committed as $_thread . Stan