Skip to content

Instantly share code, notes, and snippets.

View theIDinside's full-sized avatar

Simon Farre theIDinside

View GitHub Profile
import gdb
open_files = {}
class PrintArgsBreakpoint(gdb.Breakpoint):
def __init__(self, fn_name, filename):
super(PrintArgsBreakpoint, self).__init__(fn_name)
self.filename = filename
self.fn_name = fn_name
self.file_opened = False