From 1332988f5a62cb221db9e362f8f58c0352622b65 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 20 Jun 2013 21:57:34 +0000 Subject: Print the general purpose registers for frame 0. llvm-svn: 184483 --- lldb/examples/python/diagnose_unwind.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lldb/examples/python/diagnose_unwind.py b/lldb/examples/python/diagnose_unwind.py index 5d48f502f9a..190143eb961 100644 --- a/lldb/examples/python/diagnose_unwind.py +++ b/lldb/examples/python/diagnose_unwind.py @@ -140,6 +140,14 @@ to be helpful when reporting the problem. 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 -- cgit v1.2.3