diff options
author | Jason Molenda <jmolenda@apple.com> | 2013-06-20 21:57:34 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2013-06-20 21:57:34 +0000 |
commit | 1332988f5a62cb221db9e362f8f58c0352622b65 (patch) | |
tree | 8044329164c5103c86c27044c038f1ed6edc39df | |
parent | 96d38760fca015d72f38778cd465d29f5fc69264 (diff) | |
download | bcm5719-llvm-1332988f5a62cb221db9e362f8f58c0352622b65.tar.gz bcm5719-llvm-1332988f5a62cb221db9e362f8f58c0352622b65.zip |
Print the general purpose registers for frame 0.
llvm-svn: 184483
-rw-r--r-- | lldb/examples/python/diagnose_unwind.py | 8 |
1 files changed, 8 insertions, 0 deletions
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 |