#! /usr/bin/env python # -*- coding: UTF-8 -*- #----------------------------------------------------------------------------------------------------------------------* import sys, os, subprocess #----------------------------------------------------------------------------------------------------------------------* #--- Get script absolute path scriptDir = os.path.dirname (os.path.abspath (sys.argv [0])) os.chdir (scriptDir) #--- returncode = subprocess.call (["$OBJDUMP$", "-S", "$SOURCE$.o"]) if returncode != 0 : sys.exit (returncode) #----------------------------------------------------------------------------------------------------------------------*