-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gdbinit
More file actions
27 lines (20 loc) · 883 Bytes
/
Copy path.gdbinit
File metadata and controls
27 lines (20 loc) · 883 Bytes
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
python
import sys
from os import path, environ
#Set pretty printers system paths.
sys.path.insert(0, path.join(environ['HOME'], 'git', 'fouts', 'gdb_printers', 'python'))
#Import and register 'std::*' pretty printers.
#from libstdcxx.v6.printers import register_libstdcxx_printers
#register_libstdcxx_printers (None)
#Import and register 'BTS::Fibre::*' pretty printers.
from bts.fibre.printers import register_bts_fibre_printers
register_bts_fibre_printers(None)
#Import and register 'BTS::Image::*' pretty printers.
from bts.image.printers import register_bts_image_printers
register_bts_image_printers(None)
#Import and register 'BTS::MCMC::*' pretty printers.
from bts.mcmc.printers import register_bts_mcmc_printers
register_bts_mcmc_printers(None)
#Import MR::Math* pretty printers.
from mr.math.printers import register_mr_math_printers
register_mr_math_printers(None)