[Lldb-commits] [lldb] r115801 - /lldb/trunk/examples/python/disasm.py
Greg Clayton
gclayton at apple.com
Wed Oct 6 10:33:31 PDT 2010
Author: gclayton
Date: Wed Oct 6 12:33:30 2010
New Revision: 115801
URL: http://llvm.org/viewvc/llvm-project?rev=115801&view=rev
Log:
Fixed a few issues with the example script.
Modified:
lldb/trunk/examples/python/disasm.py
Modified: lldb/trunk/examples/python/disasm.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/disasm.py?rev=115801&r1=115800&r2=115801&view=diff
==============================================================================
--- lldb/trunk/examples/python/disasm.py (original)
+++ lldb/trunk/examples/python/disasm.py Wed Oct 6 12:33:30 2010
@@ -32,11 +32,11 @@
if target.IsValid():
# If the target is valid set a breakpoint at main
- main_bp = target.BreakpointCreateByName ("main", "a.out");
+ main_bp = target.BreakpointCreateByName ("main", sys.argv[1]);
# Launch the process. Since we specified synchronous mode, we won't return
# from this function until we hit the breakpoint at main
- process = target.LaunchProcess (sys.argv[2:], [''], "dev/stdout", 0, False)
+ process = target.LaunchProcess (sys.argv[2:], [''], "/dev/stdout", 0, False)
# Make sure the launch went ok
if process.IsValid():
More information about the lldb-commits
mailing list