diff options
author | Jason Molenda <jmolenda@apple.com> | 2015-05-01 23:39:48 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2015-05-01 23:39:48 +0000 |
commit | 8980e6bc1034e86b0f2f4bba433a91390de8e649 (patch) | |
tree | 5e5f0856331239fdbd14ffd2c18bb62ac020d70a | |
parent | b0e8a55d4df80b9e1b8009c32dd9d960a181a15d (diff) | |
download | bcm5719-llvm-8980e6bc1034e86b0f2f4bba433a91390de8e649.tar.gz bcm5719-llvm-8980e6bc1034e86b0f2f4bba433a91390de8e649.zip |
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>
llvm-svn: 236363
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index c9d92103553..a249c4e6b33 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -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); |