opnsense-src/contrib/llvm/tools/lldb/source/Plugins
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
..
ABI Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Disassembler/llvm Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
DynamicLoader Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
Instruction/ARM Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
LanguageRuntime/CPlusPlus/ItaniumABI Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
ObjectContainer/BSD-Archive Update LLDB to upstream r194122 snapshot 2013-11-12 17:25:33 +00:00
ObjectFile/ELF Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
OperatingSystem/Python Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
Platform Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
Process lldb: Invoke PT_KILL from ProcessPosix::DoDestroy 2014-03-24 01:21:37 +00:00
SymbolFile Update LLDB snapshot to upstream r202189 2014-02-25 22:13:51 +00:00
SymbolVendor/ELF Update LLDB snapshot to upstream r201577 2014-02-18 19:52:51 +00:00
UnwindAssembly Update LLDB to upstream r194122 snapshot 2013-11-12 17:25:33 +00:00