diff options
Diffstat (limited to 'lldb')
| -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 '#----------------------------------------------------------------------' |

