This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [gdb-remote] Fix process ID after following forked child
ClosedPublic

Authored by mgorny on Jul 18 2022, 12:41 PM.

Details

Summary

Update the process ID after handling fork/vfork to ensure that
the process plugin reports the correct PID immediately.

Sponsored by: The FreeBSD Foundation

Diff Detail

Event Timeline

mgorny created this revision.Jul 18 2022, 12:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2022, 12:41 PM
Herald added a subscriber: arichardson. · View Herald Transcript
mgorny requested review of this revision.Jul 18 2022, 12:41 PM
labath accepted this revision.Jul 21 2022, 6:33 AM
This revision is now accepted and ready to land.Jul 21 2022, 6:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2022, 8:11 AM