summaryrefslogtreecommitdiffstats
path: root/sbe/build/simics/sbe_startup.simics
blob: 15cd9e91dee4573d9bf308e8d41555193d0d0eae (plain)
1
2
3
4
5
6
7
8
9
10
11
echo "Attempting to register SBE Tools"

# Load SBE debug tools.
try {
    $sbe_startup_path = (lookup-file sbfw/simics-debug-framework.py);
    $sbe_script_location = (python "''.join(map('/'.__add__,\""+$sbe_startup_path+"\"[1:].split('/')[0:-1]))")
    python "os.environ['SBE_TOOLS_PATH'] = \""+$sbe_script_location+"\""
    echo $sbe_script_location;
    run-python-file (lookup-file sbfw/simics-debug-framework.py)
} except { echo "ERROR: Failed to load SBE debug tools." }

OpenPOWER on IntegriCloud