Created
October 2, 2015 02:32
-
-
Save ariscop/176ddfb788a63690ac7b to your computer and use it in GitHub Desktop.
Gdb script for logging backtraces when a function is called
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set pagination off | |
set logging file gdb.txt | |
set logging on | |
break sendto_realops_snomask | |
commands | |
bt full | |
c | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment