-
Notifications
You must be signed in to change notification settings - Fork 7
/
gdbinit
28 lines (23 loc) · 994 Bytes
/
gdbinit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
handle SIGUSR1 noprint nostop
python
import sys
# ClickHouse-pretty-printer-dir is the directory of this repo
# libcxx
#sys.path.insert(0, '{ClickHouse-pretty-printer-dir}')
sys.path.insert(0, '/home/hewenting/workspace/gdb/ClickHouse-pretty-printer/libcxx/v2')
from libcxx_printers_new import register_libcxx_printer_loader
register_libcxx_printer_loader()
# clickhouse pretty printer
#sys.path.insert(0, '{ClickHouse-pretty-printer-dir}/clickhouse')
sys.path.insert(0, '/home/hewenting/workspace/gdb/ClickHouse-pretty-printer/clickhouse')
from printers import register_ch_printers
register_ch_printers()
# boost
#sys.path.insert(0, '{ClickHouse-pretty-printer-dir}/boost/share/boost-gdb-printers')
sys.path.insert(0, '/home/hewenting/workspace/gdb/ClickHouse-pretty-printer/boost/share/boost-gdb-printers')
import boost.v1_57 as boost
boost.register_pretty_printers(gdb)
end
## libstdcpp
#from libstdcxx.v6.printers import register_libstdcxx_printers
#register_libstdcxx_printers (None)