If your trying to output a large backtrace like those generated via kernel panics the following can be quite useful:-
set logging redirect on
(gdb) set height 0 (gdb) set logging file backtrace.txt (gdb) set logging redirect on (gdb) set logging on Redirecting output to backtrace.txt. (gdb) thread apply all bt
Leave a Reply
You must be logged in to post a comment.