This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [Process/NetBSD] Report stopped process on SIGSTOP
ClosedPublic

Authored by mgorny on Jul 25 2019, 9:13 AM.

Details

Summary

Mark the process as stopped when SIGSTOP arrives. This is necessary
for lldb-server to generate correct response to 'process interrupt',
and therefore to prevent the whole stack crashing when process
is stopped.

Thanks to Pavel Labath for the tip.

Diff Detail

Event Timeline

mgorny created this revision.Jul 25 2019, 9:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2019, 9:13 AM
mgorny updated this revision to Diff 211787.Jul 25 2019, 10:32 AM

Un-XFAIL some tests fixed by this.

mgorny updated this revision to Diff 211789.Jul 25 2019, 10:35 AM

Two more apparent XPASS-es.

labath accepted this revision.Jul 25 2019, 12:28 PM

cool

This revision is now accepted and ready to land.Jul 25 2019, 12:28 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2019, 1:27 PM