When running this from the command line, don't pass the python script file itself to be disassembled.

llvm-svn: 153626
This commit is contained in:
Greg Clayton 2012-03-29 01:40:28 +00:00
parent d761d42707
commit 6ca75a00dc

View File

@ -181,7 +181,7 @@ if __name__ == '__main__':
import sys
# This script is being run from the command line, create a debugger in case we are
# going to use any debugger functions in our function.
for file in sys.argv:
for file in sys.argv[1:]:
print '#----------------------------------------------------------------------'
print "# GDB remote log file: '%s'" % file
print '#----------------------------------------------------------------------'