Question: Explain below commands:- (gdb) info threads (gdb) thread 2 (gdb) where file deadlock ./deadlock_run.sh & ps aux |grep dead sudo gdb -p ###### (put in
Explain below commands:-
(gdb) info threads
(gdb) thread 2
(gdb) where
file deadlock
./deadlock_run.sh &
ps aux |grep dead
sudo gdb -p ###### (put in your PID for the ./deadlock)
(gdb) info threads
Which threadis causing thedeadlock?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
