[lldb-dev] [PATCH] Cleanup Linux process on detach
Andrew MacPherson
andrew.macp at gmail.com
Tue Mar 25 03:36:19 PDT 2014
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.
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.
Thanks,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140325/3df44947/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Linux.cleanup-on-detach.patch
Type: text/x-diff
Size: 953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140325/3df44947/attachment.patch>
More information about the lldb-dev
mailing list