From cf4f56c4cbf1e32812830796657a765e796f32fd Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 6 Oct 2010 17:33:30 +0000 Subject: Fixed a few issues with the example script. llvm-svn: 115801 --- lldb/examples/python/disasm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/examples/python') diff --git a/lldb/examples/python/disasm.py b/lldb/examples/python/disasm.py index f6868e6e4ea..8239cf337f9 100755 --- a/lldb/examples/python/disasm.py +++ b/lldb/examples/python/disasm.py @@ -32,11 +32,11 @@ target = debugger.CreateTargetWithFileAndArch (sys.argv[1], "x86_64") 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(): -- cgit v1.2.3