[Lldb-commits] [lldb] r184483 - Print the general purpose registers for frame 0.
Jason Molenda
jmolenda at apple.com
Thu Jun 20 14:57:35 PDT 2013
Author: jmolenda
Date: Thu Jun 20 16:57:34 2013
New Revision: 184483
URL: http://llvm.org/viewvc/llvm-project?rev=184483&view=rev
Log:
Print the general purpose registers for frame 0.
Modified:
lldb/trunk/examples/python/diagnose_unwind.py
Modified: lldb/trunk/examples/python/diagnose_unwind.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/examples/python/diagnose_unwind.py?rev=184483&r1=184482&r2=184483&view=diff
==============================================================================
--- lldb/trunk/examples/python/diagnose_unwind.py (original)
+++ lldb/trunk/examples/python/diagnose_unwind.py Thu Jun 20 16:57:34 2013
@@ -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
More information about the lldb-commits
mailing list