forked from OSchip/llvm-project
On non-Windows platforms, asm int 3 generates an eStopReasonSignal.
llvm-svn: 257959
This commit is contained in:
parent
efdccaa94f
commit
778cec3e30
|
@ -26,7 +26,8 @@ class DebugBreakTestCase(TestBase):
|
|||
|
||||
# We've hit the first stop, so grab the frame.
|
||||
self.assertEqual(process.GetState(), lldb.eStateStopped)
|
||||
thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonException)
|
||||
stop_reason = lldb.eStopReasonException if (getPlatform()=="windows") 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