ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tools
GdbUtils
python
stl.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
#
3
# File: GdbUtils/python/stl.py
4
# Created: A while ago, sss
5
# Purpose: Enable pretty-printing of STL types.
6
#
7
8
import
glob
9
import
os
10
import
sys
11
import
subprocess
12
13
gccbin = subprocess.getoutput (
'which gcc'
)
14
gccdir = os.path.dirname(os.path.dirname(gccbin))
15
gccpydir = glob.glob(gccdir +
'/share/*/python'
)[0]
16
sys.path.append (gccpydir)
17
18
from
libstdcxx.v6.printers
import
register_libstdcxx_printers
19
register_libstdcxx_printers(
None
)
Generated on
for ATLAS Offline Software by
1.17.0