ATLAS Offline Software
Loading...
Searching...
No Matches
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
11import sys
12import os
13import gdb
14
15# Find the directory in which these scripts are installed and add it to
16# the python path.
17thisdir = os.path.dirname (sys.modules[__package__].__file__)
18sys.path = [thisdir] + sys.path
19
20# Also put this directory the source path, for `source'.
21gdb.execute ("dir %s" % thisdir)
22
23# Load commands enabled by default.
24import findlib # noqa: F401
25import sources # noqa: F401
26import btload # noqa: F401
27import pahole # noqa: F401
28import offsets # noqa: F401
29import importcmd # noqa: F401
30import sheap # noqa: F401