[Lldb-commits] [lldb] r130960 - /lldb/trunk/test/lldbtest.py
Johnny Chen
johnny.chen at apple.com
Thu May 5 15:17:32 PDT 2011
Author: johnny
Date: Thu May 5 17:17:31 2011
New Revision: 130960
URL: http://llvm.org/viewvc/llvm-project?rev=130960&view=rev
Log:
Use standard lldb enum -- lldb.eStopReasonBreakpoint.
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=130960&r1=130959&r2=130960&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Thu May 5 17:17:31 2011
@@ -875,7 +875,7 @@
with recording(self, trace) as sbuf:
print >> sbuf, "StopReason =", stop_reason_to_str(SR)
- if SR == StopReasonEnum("Breakpoint"):
+ if SR == lldb.eStopReasonBreakpoint:
frame = thread.GetFrameAtIndex(0)
name = frame.GetFunction().GetName()
with recording(self, trace) as sbuf:
More information about the lldb-commits
mailing list