summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python/diagnose_unwind.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/examples/python/diagnose_unwind.py')
-rw-r--r--lldb/examples/python/diagnose_unwind.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/examples/python/diagnose_unwind.py b/lldb/examples/python/diagnose_unwind.py
index 41da55f3f62..e0b9305f2b0 100644
--- a/lldb/examples/python/diagnose_unwind.py
+++ b/lldb/examples/python/diagnose_unwind.py
@@ -69,6 +69,8 @@ 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 ""
if this_module != None:
module_list.append (this_module)
if cur_thread.GetNumFrames() < 2:
OpenPOWER on IntegriCloud