From 479c3577fb825c0c7933b49ac0dd944c4aae22bf Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 15 Jun 2021 15:42:50 -0700 Subject: [PATCH] Missed a Windows use of ValidForThisThread in the changes for cfb96d845a684a5c567823dbe2aa4392937ee979. --- lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp index 899d090..03a3354 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp @@ -394,7 +394,7 @@ void ProcessWindows::RefreshStateAfterStop() { RegisterContextSP register_context = stop_thread->GetRegisterContext(); const uint64_t pc = register_context->GetPC(); BreakpointSiteSP site(GetBreakpointSiteList().FindByAddress(pc)); - if (site && site->ValidForThisThread(stop_thread.get())) { + if (site && site->ValidForThisThread(*stop_thread)) { LLDB_LOG(log, "Single-stepped onto a breakpoint in process {0} at " "address {1:x} with breakpoint site {2}", @@ -449,7 +449,7 @@ void ProcessWindows::RefreshStateAfterStop() { m_session_data->m_debugger->GetProcess().GetProcessId(), pc, site->GetID()); - if (site->ValidForThisThread(stop_thread.get())) { + if (site->ValidForThisThread(*stop_thread)) { LLDB_LOG(log, "Breakpoint site {0} is valid for this thread ({1:x}), " "creating stop info.", -- 2.7.4