llvm-project/lldb/source
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
..
API lldb arm64 import. 2014-03-29 18:54:20 +00:00
Breakpoint JITed functions can now have debug info and be debugged with debug and source info: 2014-03-24 23:10:19 +00:00
Commands Fixed a crasher when using 1 character type names in “type summary”, “type synthetic” and “type filter”. 2014-03-26 22:35:52 +00:00
Core <rdar://problem/16424592> 2014-03-31 23:02:25 +00:00
DataFormatters <rdar://problem/16424592> 2014-03-31 23:02:25 +00:00
Expression lldb arm64 import. 2014-03-29 18:54:20 +00:00
Host lldb arm64 import. 2014-03-29 18:54:20 +00:00
Interpreter lldb arm64 import. 2014-03-29 18:54:20 +00:00
Plugins Implement ProcessMonitor::Kill for FreeBSD 2014-04-01 14:30:56 +00:00
Symbol lldb arm64 import. 2014-03-29 18:54:20 +00:00
Target Fix one thread timeout logic 2014-03-31 19:28:14 +00:00
Utility Include string.h for memset() prototype. Thanks Dmitri. 2014-03-29 19:29:04 +00:00
CMakeLists.txt lldb arm64 import. 2014-03-29 18:54:20 +00:00
Makefile Make lldb build with Makefiles on OS X. 2014-01-18 08:05:32 +00:00
lldb-log.cpp Put "jit" in alpha order in log category list 2014-03-05 13:43:23 +00:00
lldb.cpp lldb arm64 import. 2014-03-29 18:54:20 +00:00