$thread convenience variable

Daniel Jacobowitz drow@false.org
Mon Feb 6 23:49:00 GMT 2006


On Fri, Feb 03, 2006 at 01:01:40PM +0000, Andrew STUBBS wrote:
> It might be better to do this in cli-script.c in the same way as 
> $arg0-$arg9 and $argc. That way it would always be up to date and would 
> be read-only.
> 
> Of course these substitutions currently only work within control 
> structures, such as if, while or user-defined commands. (Hmmm, a quick 
> test also shows they crash GDB if not used within a user-define.)

Test case?  I tried a couple places, it didn't crash.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list