'int' is reported as an exception on OS X not as a signal. I don't think
this test ever succeeded on OS X. llvm-svn: 266092
This commit is contained in:
parent
c8b31f30ad
commit
5e2b489049
|
@ -27,7 +27,7 @@ class DebugBreakTestCase(TestBase):
|
|||
|
||||
# We've hit the first stop, so grab the frame.
|
||||
self.assertEqual(process.GetState(), lldb.eStateStopped)
|
||||
stop_reason = lldb.eStopReasonException if (lldbplatformutil.getPlatform()=="windows") else lldb.eStopReasonSignal
|
||||
stop_reason = lldb.eStopReasonException if (lldbplatformutil.getPlatform()=="windows" or lldbplatformutil.getPlatform()=="macosx") else lldb.eStopReasonSignal
|
||||
thread = lldbutil.get_stopped_thread(process, stop_reason)
|
||||
self.assertIsNotNone(thread, "Unable to find thread stopped at the __debugbreak()")
|
||||
frame = thread.GetFrameAtIndex(0)
|
||||
|
|
Loading…
Reference in New Issue