Thread status using GDB

Viewed 147

I created a test program for mutex using following crash condition to test the lockguard.

mt_loc.lock();
temp=++count/0;
mt_loc.unlock(); 

When i created two threads and ran it, I got the crash and info threads looked like below:
enter image description here

Info thread shows like: enter image description here

I am not able to to get the status of the threads using GDB. But I can see process status through cat proc/{pid}/status

enter image description here

Is there a way I can get the complete thread details (status etc) using gdb ?

0 Answers
Related