Use standard lldb enum -- lldb.eStopReasonBreakpoint.

llvm-svn: 130960
This commit is contained in:
Johnny Chen 2011-05-05 22:17:31 +00:00
parent ec0a3a0bbf
commit b79646cb2e
1 changed files with 1 additions and 1 deletions

View File

@ -875,7 +875,7 @@ class TestBase(unittest2.TestCase):
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: