Fix typeo in diagnose-unwind.py.
authorJason Molenda <jmolenda@apple.com>
Mon, 15 Jul 2013 22:40:17 +0000 (22:40 +0000)
committerJason Molenda <jmolenda@apple.com>
Mon, 15 Jul 2013 22:40:17 +0000 (22:40 +0000)
llvm-svn: 186358

lldb/examples/python/diagnose_unwind.py

index e0b9305..e977c4e 100644 (file)
@@ -69,7 +69,7 @@ def simple_backtrace(debugger):
   module_list = []
   address_list = [cur_thread.GetFrameAtIndex(0).GetPC()]
   this_module = backtrace_print_frame (target, 0, cur_thread.GetFrameAtIndex(0).GetPC(), initial_fp)
-  print_stack_frame (process, cur_fp)
+  print_stack_frame (process, initial_fp)
   print ""
   if this_module != None:
     module_list.append (this_module)