Print the general purpose registers for frame 0.
llvm-svn: 184483
diff --git a/lldb/examples/python/diagnose_unwind.py b/lldb/examples/python/diagnose_unwind.py
index 5d48f50..190143e 100644
--- a/lldb/examples/python/diagnose_unwind.py
+++ b/lldb/examples/python/diagnose_unwind.py
@@ -140,6 +140,14 @@
print 'LLDB version %s' % debugger.GetVersionString()
print 'Unwind diagnostics for thread %d' % thread.GetIndexID()
print ""
+ print "============================================================================================="
+ print ""
+ print "Live register context:"
+ thread.SetSelectedFrame(0)
+ debugger.HandleCommand("register read")
+ print ""
+ print "============================================================================================="
+ print ""
print "lldb's unwind algorithm:"
print ""
frame_num = 0