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:
@@ -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 '#----------------------------------------------------------------------'
|
||||
|
||||
Reference in New Issue
Block a user