forked from OSchip/llvm-project
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:
parent
d761d42707
commit
6ca75a00dc
|
@ -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 '#----------------------------------------------------------------------'
|
||||
|
|
Loading…
Reference in New Issue