[Lldb-commits] [PATCH] D80112: Check if thread was suspended during previous stop added.
Jim Ingham via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 4 14:23:50 PDT 2020
jingham added a comment.
Sorry, now that I'm thinking about this more, I'm confused as to why you are seeing the symptoms you describe. Thread::ShouldStop starts with:
if (GetResumeState() == eStateSuspended) {
LLDB_LOGF(log,
"Thread::%s for tid = 0x%4.4" PRIx64 " 0x%4.4" PRIx64
", should_stop = 0 (ignore since thread was suspended)",
__FUNCTION__, GetID(), GetProtocolID());
return false;
}
So a suspended thread should always return false from "ShouldStop" and should never make a process stop. Why isn't this effective in your case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80112/new/
https://reviews.llvm.org/D80112
More information about the lldb-commits
mailing list