This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG910353c1048e: When calculating the currently selected
thread in
shafik added inline comments.
Comment at: lldb/source/Target/Process.cpp:780
StopReason curr_thread_stop_reason = eStopReasonInvalid;
-if (curr_thread) {
+bool prefer_curr_thread = false;
+if (curr_thread && curr_thread->IsValid()) {
jingham created this revision.
jingham added reviewers: clayborg, JDevlieghere.
jingham requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
When calculating the "currently selected thread" in
Process::HandleStateChangedEvent, we check whether