This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: $thread convenience variable
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 03 Feb 2006 12:58:00 +0200
- Subject: Re: $thread convenience variable
- References: <drl4fn$4h8$1@sea.gmane.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.