comex added a comment.

The sequence I found is:

- `WillResume`
- `DoResume` sends `eBroadcastBitAsyncContinue` to 
`ProcessGDBRemote::AsyncThread`
- `AsyncThread` calls `process->SetPrivateState(eStateRunning);`
- …which sends `eBroadcastBitStateChanged` back to the main thread, handled by 
`Process::HandlePrivateEvent`
- …which ends up in this stack, when it tries to figure out whether to report 
the state change to the user:
  - `Process::HandlePrivateEvent` ->
  - `Process::ShouldBroadcastEvent` ->
  - `ThreadList::ShouldReportRun` ->
  - `Thread::ShouldReportRun` ->
  - `ThreadPlan::ShouldReportRun` ->
  - `ThreadPlan::GetPreviousPlan` ->
  - `ThreadPlan::GetThread`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86388/new/

https://reviews.llvm.org/D86388

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to