Ed Maste 52c52d38d5 lldb: Invoke PT_KILL from ProcessPosix::DoDestroy
We previously sent SIGKILL to the debuggee in DoDestroy, but did not
actually detach or kill via ptrace.  It seems that this somehow didn't
matter on Linux, but did on FreeBSD.

This would happen when quitting LLDB while stopped at a breakpoint, for
example.  The debuggee remained stopped in ptrace (with the signal
either pending or lost).  After a timeout of a second or two LLDB exits,
which caused the debuggee to resume and dump core from an unhandled
SIGTRAP.

BringProcessIntoLimbo is a poorly named wrapper for ptrace(PT_KILL)
which is the desired behaviour from DoDestroy.

http://llvm.org/pr18894

Sponsored by:	DARPA, AFRL
2014-03-24 01:21:37 +00:00
..
2014-02-16 21:53:33 +00:00
2014-01-27 17:47:21 +00:00
2013-09-24 14:52:43 +00:00
2014-01-05 23:28:03 +00:00
2014-02-21 16:14:40 +00:00
2013-05-21 19:23:49 +00:00
2013-09-22 20:30:55 +00:00
2014-03-22 17:28:14 +00:00
2014-03-14 02:58:48 +00:00
2013-11-15 22:45:14 +00:00
2013-01-03 07:25:30 +00:00
2012-02-22 03:36:15 +00:00
2014-03-02 03:34:06 +00:00
2013-12-16 01:58:12 +00:00
2014-03-11 20:32:23 +00:00
2013-09-24 09:56:58 +00:00
2014-03-04 21:51:11 +00:00