diff --git a/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py b/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py index 5f3eb31c83aee69..2a3e4e590a31bf6 100644 --- a/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py +++ b/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py @@ -55,6 +55,9 @@ def test_inferior_handle_sigabrt(self): # Expect breakpoint in 'handler' frame = thread.GetFrameAtIndex(0) self.assertEqual(frame.GetDisplayFunctionName(), "handler", "Unexpected break?") + + self.runCmd("log enable lldb unwind") + self.runCmd("bt") # Expect that unwinding should find 'abort_caller' foundFoo = False @@ -62,6 +65,7 @@ def test_inferior_handle_sigabrt(self): if frame.GetDisplayFunctionName() == "abort_caller": foundFoo = True + self.runCmd("log disable lldb unwind") self.assertTrue(foundFoo, "Unwinding did not find func that called abort") # Continue until we exit.