This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] $thread convenience variable
On Friday 18 June 2010 18:46:20, Stan Shebs wrote:
> Tom Tromey wrote:
> >>>>>> "Stan" == Stan Shebs <firstname.lastname@example.org> 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