GDB多线程调试 Posted on 2017-05-19 Edited on 2023-07-05 In Tools , GDB Views: Symbols count in article: 313 Reading time ≈ 1 mins. set follow-fork-mode [parent|child] set detach-on-fork [on|off] set print thread-events [on|off] set scheduler-locking [off|on|step] thread apply [all|IDS] command thread apply ID1 ID2 command break test.c:123 thread all info threads thread ID Ref Debugging Programs with Multiple Threads GDB调试多线程 GDB调试信号、多线程、多进程 gdb调试多线程 如何解死锁问题 Linux多进程和多线程的一次gdb调试实例