This revision was automatically updated to reflect the committed changes. Closed by commit rG77f0ea4b5b97: [lldb] [test] Fix continue_to_breakpoint() args in TestThreadStepOut (authored by mgorny). Herald added a project: LLDB.
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D92746/new/ https://reviews.llvm.org/D92746 Files: lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py Index: lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py =================================================================== --- lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py +++ lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py @@ -145,7 +145,8 @@ if len(breakpoint_threads) == 1: success = thread.Suspend() self.assertTrue(success, "Couldn't suspend a thread") - bkpt_threads = lldbutil.continue_to_breakpoint(bkpt) + bkpt_threads = lldbutil.continue_to_breakpoint(self.inferior_process, + bkpt) self.assertEqual(len(bkpt_threads), 1, "Second thread stopped") success = thread.Resume() self.assertTrue(success, "Couldn't resume a thread")
Index: lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py =================================================================== --- lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py +++ lldb/test/API/functionalities/thread/step_out/TestThreadStepOut.py @@ -145,7 +145,8 @@ if len(breakpoint_threads) == 1: success = thread.Suspend() self.assertTrue(success, "Couldn't suspend a thread") - bkpt_threads = lldbutil.continue_to_breakpoint(bkpt) + bkpt_threads = lldbutil.continue_to_breakpoint(self.inferior_process, + bkpt) self.assertEqual(len(bkpt_threads), 1, "Second thread stopped") success = thread.Resume() self.assertTrue(success, "Couldn't resume a thread")
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits