[Lldb-commits] [lldb] r266092 - 'int' is reported as an exception on OS X not as a signal. I don't think

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 12 10:04:12 PDT 2016


Author: jingham
Date: Tue Apr 12 12:04:12 2016
New Revision: 266092

URL: http://llvm.org/viewvc/llvm-project?rev=266092&view=rev
Log:
'int' is reported as an exception on OS X not as a signal.  I don't think
this test ever succeeded on OS X.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py?rev=266092&r1=266091&r2=266092&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py Tue Apr 12 12:04:12 2016
@@ -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)




More information about the lldb-commits mailing list