The set | |
| [num] command checks if the number of threads |
| waiting on any pthread object exceeds the |
| specified threshold number [num]. The debugger |
| transfers the execution control to the user and |
| prints a warning message when this condition is |
| detected. |
14.11.3.3 Commands to view information on pthread primitives
WDB 5.5 and later versions of the debugger display extended information on pthread primitives for
info thread | The info thread |
| displays a list of known threads. If a |
| provided, the command displays extended |
| information on the specified thread. |
info mutex | The info mutex |
| displays a list of known mutexes. If a |
| is provided, the command displays extended |
| information on the specified mutex. |
info condvar | The info condvar |
| displays a list of known condition variables. If |
| |
| extended information on the specified condition |
| variable. |
info rwlock | The info rwlock |
| displays a list of known |
| |
| extended information on the specified |
| lock. |
HP WDB provides support to attach a running process to the debugger. To use thread debugging commands after attaching GDB to a running process, complete the following steps:
14.11 Thread Debugging Support 187