[Lldb-commits] [lldb] r117281 - /lldb/trunk/test/lldbutil.py
Johnny Chen
johnny.chen at apple.com
Mon Oct 25 11:43:29 PDT 2010
Author: johnny
Date: Mon Oct 25 13:43:29 2010
New Revision: 117281
URL: http://llvm.org/viewvc/llvm-project?rev=117281&view=rev
Log:
Also prints out the stop reason string for lldbutil.PrintStackTrace(thread).
Modified:
lldb/trunk/test/lldbutil.py
Modified: lldb/trunk/test/lldbutil.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbutil.py?rev=117281&r1=117280&r2=117281&view=diff
==============================================================================
--- lldb/trunk/test/lldbutil.py (original)
+++ lldb/trunk/test/lldbutil.py Mon Oct 25 13:43:29 2010
@@ -173,8 +173,9 @@
lines = GetLineNumbers(thread)
addrs = GetPCAddresses(thread)
- print >> output, "Stack trace for thread id={0:#x} name={1} queue={2}:".format(
- thread.GetThreadID(), thread.GetName(), thread.GetQueueName())
+ print >> output, "Stack trace for thread id={0:#x} name={1} queue={2} stop reason={3}:".format(
+ thread.GetThreadID(), thread.GetName(), thread.GetQueueName(),
+ StopReasonString(thread.GetStopReason()))
for i in range(depth):
frame = thread.GetFrameAtIndex(i)
More information about the lldb-commits
mailing list