Author: Charles Zablit Date: 2026-06-05T16:02:50+01:00 New Revision: acbd01a55d0ff71ec37654878a94111624c298dc
URL: https://github.com/llvm/llvm-project/commit/acbd01a55d0ff71ec37654878a94111624c298dc DIFF: https://github.com/llvm/llvm-project/commit/acbd01a55d0ff71ec37654878a94111624c298dc.diff LOG: [lldb][Windows] Clear stale thread stop info on resume (#201595) Added: Modified: lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp index da0fe0d891d6f..f021d435efa9b 100644 --- a/lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp @@ -81,6 +81,11 @@ Status NativeThreadWindows::DoResume(lldb::StateType resume_state) { } if (resume_state == eStateStepping || resume_state == eStateRunning) { + // Clear any stop info left over from a previous stop. + m_stop_info = ThreadStopInfo(); + m_stop_info.reason = lldb::eStopReasonNone; + m_stop_description.clear(); + DWORD previous_suspend_count = 0; HANDLE thread_handle = m_host_thread.GetNativeThread().GetSystemHandle(); do { _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
