Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# usage:
#
# import this script
# (gdb) python sys.path.insert(0, '<path_to_supertrace.py>'); import supertrace
# or alternatively, import this script by using supertrace.gdb
# $ gdb -x supertrace.gdb <debugee>
#
# then insert some breakpoints ...
@mingnus
mingnus / supertrace.gdb
Last active November 6, 2016 12:54 — forked from fcwu/supertrace.gdb
set pagination off
python
sys.path.insert(0, './')
import supertrace
end