This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [test] Terminate "process connect" connections via kill
ClosedPublic

Authored by mgorny on Oct 2 2021, 9:27 AM.

Details

Summary

Fix the termination of "process connect" (and "gdb-remote") to kill
the process rather than attempting to disconnect the platform.
The latter only results in an error since we did not use "platform
connect", and apparently process-level connections (at least via
gdb-remote) do not really support disconnecting.

Diff Detail

Event Timeline

mgorny requested review of this revision.Oct 2 2021, 9:27 AM
mgorny created this revision.
labath accepted this revision.Oct 4 2021, 2:53 AM

Yeah, I'm not sure how this came to be. Disconnecting the platform makes no sense here, as it was never connected.

This revision is now accepted and ready to land.Oct 4 2021, 2:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 4 2021, 3:29 AM