gdb
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
gdb [2016/10/16 20:19] – created dblume | gdb [2016/10/17 10:01] – dblume | ||
---|---|---|---|
Line 5: | Line 5: | ||
(gdb) set pagination off | (gdb) set pagination off | ||
(gdb) thread apply all bt | (gdb) thread apply all bt | ||
+ | |||
+ | Other useful tips: | ||
+ | |||
+ | (gdb) t a a f # thread apply all frame | ||
+ | (gdb) t a a bt 3 # thread apply all backtrace bottom three frames | ||
+ | (gdb) t a a bt -3 # thread apply all backtrace top three frames | ||
+ | |||
+ | ==== Detecting a Deadlock ==== | ||
Get high level info on the threads: | Get high level info on the threads: |
gdb.txt · Last modified: 2023/04/12 20:44 by 127.0.0.1