[Lldb-commits] [lldb] 479c357 - Missed a Windows use of ValidForThisThread in the changes for
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 15 15:44:10 PDT 2021
Author: Jim Ingham
Date: 2021-06-15T15:43:53-07:00
New Revision: 479c3577fb825c0c7933b49ac0dd944c4aae22bf
URL: https://github.com/llvm/llvm-project/commit/479c3577fb825c0c7933b49ac0dd944c4aae22bf
DIFF: https://github.com/llvm/llvm-project/commit/479c3577fb825c0c7933b49ac0dd944c4aae22bf.diff
LOG: Missed a Windows use of ValidForThisThread in the changes for
cfb96d845a684a5c567823dbe2aa4392937ee979.
Added:
Modified:
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
index 899d090f43a87..03a33548fadd5 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.",
More information about the lldb-commits
mailing list