I have a core of an multi-threaded application. when i check all the threads it shows me that many threads are blocked for taking a mutex lock. In GDB how I can identify that thread which is holding the mutex lock.
In dbx I can do that using thread -blockedby but in GDB i am not getting how I can do that.
there are more than 100 threads so i cannt check every thread stack.
Thanks in advance.