opnsense-src/contrib/llvm/tools/lldb/source
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
..
API Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Breakpoint Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
Commands Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
Core Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
DataFormatters Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
Expression Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Host Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Interpreter Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Plugins lldb: Invoke PT_KILL from ProcessPosix::DoDestroy 2014-03-24 01:21:37 +00:00
Symbol Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Target Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Utility Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
lldb-log.cpp Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
lldb.cpp Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00