$thread convenience variable
Eli Zaretskii
eliz@gnu.org
Fri Feb 3 10:58:00 GMT 2006
> From: Vladimir Prus <ghost@cs.msu.su>
> Date: Mon, 30 Jan 2006 16:31:34 +0300
>
> breakpoint foo.cpp:10 if $thread==1 || $thread==2
>
> If I understand correctly, at the moment gdb can't specify arbitrary
> condition on thread number for breakpoint. A breakpoint is either global,
> or for one thread.
>
> If such variable does not exist, does it look like a good addition?
I'd support adding such a variable.
More information about the Gdb
mailing list