[Lldb-commits] [lldb] r153626 - /lldb/trunk/examples/python/gdbremote.py
Greg Clayton
gclayton at apple.com
Wed Mar 28 18:40:28 PDT 2012
Author: gclayton
Date: Wed Mar 28 20:40:28 2012
New Revision: 153626
URL: http://llvm.org/viewvc/llvm-project?rev=153626&view=rev
Log:
When running this from the command line, don't pass the python script file itself to be disassembled.
Modified:
lldb/trunk/examples/python/gdbremote.py
Modified: lldb/trunk/examples/python/gdbremote.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/gdbremote.py?rev=153626&r1=153625&r2=153626&view=diff
==============================================================================
--- lldb/trunk/examples/python/gdbremote.py (original)
+++ lldb/trunk/examples/python/gdbremote.py Wed Mar 28 20:40:28 2012
@@ -181,7 +181,7 @@
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 '#----------------------------------------------------------------------'
More information about the lldb-commits
mailing list