Skip to content
Snippets Groups Projects
Commit cebebad6 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

doc: troubleshooting, tune gdb commands

parent 0278e8bc
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,8 @@ must be usually enabled::
$ knotd ... # Reproduce the crash
...
$ gdb knotd <core-dump-file> # Start gdb on the core dump
(gdb) thread apply all bt # Extract backtrace from all threads
(gdb) info threads # Get a summary of all threads
(gdb) thread apply all bt full # Extract backtrace from all threads
(gdb) quit
To save the backtrace into a file, the following GDB commands can be used::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment