This is the mail archive of the gdb@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: $thread convenience variable


> 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.


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