diff options
Diffstat (limited to 'lldb/test')
| -rw-r--r-- | lldb/test/functionalities/inferior-changed/TestInferiorChanged.py | 2 | ||||
| -rw-r--r-- | lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py b/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py index 3a95f54c5c2..ef078fbeb9e 100644 --- a/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py +++ b/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py @@ -52,7 +52,7 @@ class ChangedInferiorTestCase(TestBase): if sys.platform.startswith("darwin"): stop_reason = 'stop reason = EXC_BAD_ACCESS' else: - stop_reason = 'stop reason = signal SIGSEGV' + stop_reason = 'stop reason = invalid address' # The stop reason of the thread should be a bad access exception. self.expect("thread list", STOPPED_DUE_TO_EXC_BAD_ACCESS, diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py index ffd53825409..440b8959f21 100644 --- a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py +++ b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py @@ -92,7 +92,7 @@ class CrashingInferiorTestCase(TestBase): if sys.platform.startswith("darwin"): stop_reason = 'stop reason = EXC_BAD_ACCESS' else: - stop_reason = 'stop reason = signal SIGSEGV' + stop_reason = 'stop reason = invalid address' # The stop reason of the thread should be a bad access exception. self.expect("thread list", STOPPED_DUE_TO_EXC_BAD_ACCESS, @@ -102,9 +102,7 @@ class CrashingInferiorTestCase(TestBase): return stop_reason def get_api_stop_reason(self): - if sys.platform.startswith("darwin"): - return lldb.eStopReasonException - return lldb.eStopReasonSignal + return lldb.eStopReasonException def setUp(self): # Call super's setUp(). |

