ATLAS Offline Software
Tools
GdbUtils
python
Tools/GdbUtils/python/__init__.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/init.py
4
# Created: A while ago, sss
5
# Purpose: Initialize the ATLAS gdb utilities.
6
#
7
# You can load this from the gdb command line (or .gdbinit) with
8
# python import GdbUtils
9
#
10
11
import
sys
12
import
os
13
import
gdb
14
15
# Find the directory in which these scripts are installed and add it to
16
# the python path.
17
thisdir = os.path.dirname (sys.modules[__package__].__file__)
18
sys.path = [thisdir] + sys.path
19
20
# Also put this directory the source path, for `source'.
21
gdb.execute (
"dir %s"
% thisdir)
22
23
# Load commands enabled by default.
24
import
findlib
# noqa: F401
25
import
sources
# noqa: F401
26
import
btload
# noqa: F401
27
import
pahole
# noqa: F401
28
import
offsets
# noqa: F401
29
import
importcmd
# noqa: F401
30
import
sheap
# noqa: F401
Generated on Sun Nov 2 2025 21:06:09 for ATLAS Offline Software by
1.8.18