<div dir="ltr"><div>When detaching from a debugged process any breakpoint sites need to be cleared before detaching so that they don't generate uncaught SIGTRAPs. Target::CleanupProcess() seems to do the necessary cleanup so call this from the ProcessLinux::WillDetach() method.<br>
<br></div><div>If this is the right fix and if it applies to other OSes as well maybe the cleanup call should be moved into an earlier Process class in the hierarchy.<br></div><div><br></div>Thanks,<br><div>Andrew<br></div>
</div>