I have a system where 5 threads are running in parallel . I have put a breakpoint.
In gdb All-Stop Mode once a break point is hit , all the threads have stopped at that breakpoint (I currently see thread 2 caused the hit of breakpoint) . Now I wish that only thread 4 run when i press next and that all other threads are continue to remain stopped . I.e. i want to step with thread 4 making sure that all other threads remain stopped .
Can you suggest how can I do so .