This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] $thread convenience variable


On Friday 18 June 2010 18:46:20, Stan Shebs wrote:
> Tom Tromey wrote:
> >>>>>> "Stan" == Stan Shebs <stan@codesourcery.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]