llvm-project/lldb/source/Plugins/Process/FreeBSD
Ed Maste 70882939f1 Implement ProcessMonitor::Kill for FreeBSD
On FreeBSD ptrace(PT_KILL) is used to terminate the traced process
(as if PT_CONTINUE had been used with SIGKILL as the signal to be
delivered), and is the desired behaviour for ProcessPOSIX::DoDestroy.

On Linux, after ptrace(PTRACE_KILL) the traced process still exists
and can be interrogated.  It is only upon resume that it exits as though
it received SIGKILL.

For now I'm committing only the FreeBSD change, until the Linux change
(review D3159) is successfully tested.

http://llvm.org/pr18894

llvm-svn: 205315
2014-04-01 14:30:56 +00:00
..
CMakeLists.txt Add Process/Utility include directory on FreeBSD 2014-03-12 16:21:57 +00:00
FreeBSDThread.cpp Threaded inferior support for FreeBSD 2013-12-09 15:51:17 +00:00
FreeBSDThread.h Threaded inferior support for FreeBSD 2013-12-09 15:51:17 +00:00
Makefile
ProcessFreeBSD.cpp Move calls to DisableAllBreakpointSites() and m_thread_list.DiscardThreadPlans() into base Process::Destroy() instead of in subclass DoDestroy() methods. 2014-03-25 19:59:36 +00:00
ProcessFreeBSD.h Threaded inferior support for FreeBSD 2013-12-09 15:51:17 +00:00
ProcessMonitor.cpp Implement ProcessMonitor::Kill for FreeBSD 2014-04-01 14:30:56 +00:00
ProcessMonitor.h Implement ProcessMonitor::Kill for FreeBSD 2014-04-01 14:30:56 +00:00