forked from OSchip/llvm-project
Missed a Windows use of ValidForThisThread in the changes for
cfb96d845a
.
This commit is contained in:
parent
bddef53777
commit
479c3577fb
|
@ -394,7 +394,7 @@ void ProcessWindows::RefreshStateAfterStop() {
|
||||||
RegisterContextSP register_context = stop_thread->GetRegisterContext();
|
RegisterContextSP register_context = stop_thread->GetRegisterContext();
|
||||||
const uint64_t pc = register_context->GetPC();
|
const uint64_t pc = register_context->GetPC();
|
||||||
BreakpointSiteSP site(GetBreakpointSiteList().FindByAddress(pc));
|
BreakpointSiteSP site(GetBreakpointSiteList().FindByAddress(pc));
|
||||||
if (site && site->ValidForThisThread(stop_thread.get())) {
|
if (site && site->ValidForThisThread(*stop_thread)) {
|
||||||
LLDB_LOG(log,
|
LLDB_LOG(log,
|
||||||
"Single-stepped onto a breakpoint in process {0} at "
|
"Single-stepped onto a breakpoint in process {0} at "
|
||||||
"address {1:x} with breakpoint site {2}",
|
"address {1:x} with breakpoint site {2}",
|
||||||
|
@ -449,7 +449,7 @@ void ProcessWindows::RefreshStateAfterStop() {
|
||||||
m_session_data->m_debugger->GetProcess().GetProcessId(), pc,
|
m_session_data->m_debugger->GetProcess().GetProcessId(), pc,
|
||||||
site->GetID());
|
site->GetID());
|
||||||
|
|
||||||
if (site->ValidForThisThread(stop_thread.get())) {
|
if (site->ValidForThisThread(*stop_thread)) {
|
||||||
LLDB_LOG(log,
|
LLDB_LOG(log,
|
||||||
"Breakpoint site {0} is valid for this thread ({1:x}), "
|
"Breakpoint site {0} is valid for this thread ({1:x}), "
|
||||||
"creating stop info.",
|
"creating stop info.",
|
||||||
|
|
Loading…
Reference in New Issue