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


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 .

Stan


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