blob: f3adce1440a16c692c535b1af2ebd70870d37a30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import sys
import os
import gdb
script_dir = os.path.dirname(os.path.abspath(__file__))
if script_dir not in sys.path:
sys.path.insert(0, script_dir)
import kstd
kstd.register_printers(gdb.current_objfile())
gdb.write("Loaded kstd pretty printers.\n")
|