diff options
author | Greg Clayton <gclayton@apple.com> | 2012-03-29 01:40:28 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-03-29 01:40:28 +0000 |
commit | 6ca75a00dc81b85b595251e2280a15f9fb71b653 (patch) | |
tree | ccf63914610a873521015e746ebf2bafdde676a0 /lldb/examples/python/gdbremote.py | |
parent | d761d427072876363e295708803786df4e587067 (diff) | |
download | bcm5719-llvm-6ca75a00dc81b85b595251e2280a15f9fb71b653.tar.gz bcm5719-llvm-6ca75a00dc81b85b595251e2280a15f9fb71b653.zip |
When running this from the command line, don't pass the python script file itself to be disassembled.
llvm-svn: 153626
Diffstat (limited to 'lldb/examples/python/gdbremote.py')
-rwxr-xr-x | lldb/examples/python/gdbremote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/gdbremote.py b/lldb/examples/python/gdbremote.py index 73ef85349cb..4fcf82168af 100755 --- a/lldb/examples/python/gdbremote.py +++ b/lldb/examples/python/gdbremote.py @@ -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 '#----------------------------------------------------------------------' |