gdb-automatic-deadlock-detector
gdb-automatic-deadlock-detector copied to clipboard
Script adds new command to GDB which allows automatically detect C/C++ thread locking and deadlocks in GDB debugger
When I tried using this script I got the following error ******************************************************************************* Displaying blocking threads using 'blocked' command Python Exception No symbol "mutex" in current context.: Error occurred in Python...
``` (gdb) blocked ******************************************************************************** Displaying blocking threads using 'blocked' command Python Exception invalid literal for int() with base 10: '-': Error occurred in Python: invalid literal for int() with base...
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". __GI___poll (timeout=100, nfds=1, fds=0xbed30650) at ../sysdeps/unix/sysv/linux/poll.c:29 29 ../sysdeps/unix/sysv/linux/poll.c: No such file or directory. custom command => blocked - command show...
Hi, Thanks a lot for this great script! Am I right that it won't work for pthread_rwlock_t? regards