[Lldb-commits] [lldb] r236363 - Change process kill to call Process::Destroy (force_kill = true);
Jason Molenda
jmolenda at apple.com
Fri May 1 16:39:48 PDT 2015
Author: jmolenda
Date: Fri May 1 18:39:48 2015
New Revision: 236363
URL: http://llvm.org/viewvc/llvm-project?rev=236363&view=rev
Log:
Change process kill to call Process::Destroy (force_kill = true);
follow-up to the change in r235158. Right now if you attach to
a process and type "kill", lldb doesn't kill it, it detaches.
<rdar://problem/20691198>
Modified:
lldb/trunk/source/Commands/CommandObjectProcess.cpp
Modified: lldb/trunk/source/Commands/CommandObjectProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectProcess.cpp?rev=236363&r1=236362&r2=236363&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectProcess.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectProcess.cpp Fri May 1 18:39:48 2015
@@ -1466,7 +1466,7 @@ protected:
if (command.GetArgumentCount() == 0)
{
- Error error (process->Destroy(false));
+ Error error (process->Destroy(true));
if (error.Success())
{
result.SetStatus (eReturnStatusSuccessFinishResult);
More information about the lldb-commits
mailing list