From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24930 invoked by alias); 18 Jun 2010 17:58:03 -0000 Received: (qmail 24918 invoked by uid 22791); 18 Jun 2010 17:58:02 -0000 X-SWARE-Spam-Status: No, hits=-2.1 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:57:52 +0000 Received: (qmail 11179 invoked from network); 18 Jun 2010 17:57:50 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 18 Jun 2010 17:57:50 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH] $thread convenience variable Date: Fri, 18 Jun 2010 17:58:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.32-22-generic; KDE/4.4.2; x86_64; ; ) Cc: Stan Shebs , tromey@redhat.com References: <4C158675.9090001@codesourcery.com> <4C1BB0EC.3090707@codesourcery.com> In-Reply-To: <4C1BB0EC.3090707@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006181857.38563.pedro@codesourcery.com> 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: 2010-06/txt/msg00413.txt.bz2 On Friday 18 June 2010 18:46:20, Stan Shebs wrote: > 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 . I think this warrants a NEWS entry. (we have also decided to document all new commands and remote protocol packets in NEWS, so you're owing a couple entries already. ;-) It would be very nice to have that addressed before 7.2.) -- Pedro Alves