This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [llgs] Support resuming one process with PID!=current via vCont
ClosedPublic

Authored by mgorny on Jun 15 2022, 7:55 AM.

Details

Summary

Extend vCont function to support resuming a process with an arbitrary
PID, that could be different than the one selected via Hc (or no process
at all may be selected). Resuming more than one process simultaneously
is not supported yet.

Remove the ReadTid() method that was only used by Handle_vCont(),
and furthermore it was wrongly using m_current_process rather than
m_continue_process.

Sponsored by: The FreeBSD Foundation

Diff Detail

Event Timeline

mgorny created this revision.Jun 15 2022, 7:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2022, 7:55 AM
Herald added a subscriber: arichardson. · View Herald Transcript
labath accepted this revision.Jun 21 2022, 5:54 AM
This revision is now accepted and ready to land.Jun 21 2022, 5:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2022, 8:20 AM