This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [gdb-remote client] Remove breakpoints throughout vfork
ClosedPublic

Authored by mgorny on Apr 11 2021, 8:42 AM.

Details

Summary

Temporarily remove breakpoints for the duration of vfork, in order
to prevent them from triggering in the child process. Restore them
once the server reports that vfork has finished and it is ready to
resume execution.

Diff Detail

Event Timeline

mgorny requested review of this revision.Apr 11 2021, 8:42 AM
mgorny created this revision.
mgorny updated this revision to Diff 360048.Jul 20 2021, 1:19 AM

Rebased.

krytarowski accepted this revision.Aug 31 2021, 10:50 PM

Looks reasonable

This revision is now accepted and ready to land.Aug 31 2021, 10:50 PM
This revision was landed with ongoing or failed builds.Aug 31 2021, 11:17 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2021, 11:17 PM
mgorny reopened this revision.Aug 31 2021, 11:55 PM
This revision is now accepted and ready to land.Aug 31 2021, 11:55 PM
mgorny updated this revision to Diff 369869.Aug 31 2021, 11:57 PM

Try another approach for getting trap size.

krytarowski accepted this revision.Aug 31 2021, 11:58 PM

Let's see.

This revision was landed with ongoing or failed builds.Sep 1 2021, 1:34 AM
This revision was automatically updated to reflect the committed changes.