summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2019-09-26 10:57:11 +0000
committerTatyana Krasnukha <tatyana@synopsys.com>2019-09-26 10:57:11 +0000
commita11668e87b9096c821ee9fd213e398e909b92965 (patch)
treed319bd616dade59fd7ee452b8523707d354722d7 /lldb/source/Commands/CommandObjectProcess.cpp
parent6b794dfd3d9fc836bddba939d6631aa7b2607caa (diff)
downloadbcm5719-llvm-a11668e87b9096c821ee9fd213e398e909b92965.tar.gz
bcm5719-llvm-a11668e87b9096c821ee9fd213e398e909b92965.zip
Don't stop execution in batch mode when process stops with SIGINT or SIGSTOP
Summary: Usually, SIGINT and SIGSTOP don't imply a crash, e.g. SIGSTOP is sent on process launch and attach on some platforms. Differential Revision: https://reviews.llvm.org/D67776 llvm-svn: 372961
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index b494740c62a..e5aa78afabb 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -429,7 +429,6 @@ protected:
result.AppendMessage(stream.GetString());
result.SetStatus(eReturnStatusSuccessFinishNoResult);
result.SetDidChangeProcessState(true);
- result.SetAbnormalStopWasExpected(true);
} else {
result.AppendError(
"no error returned from Target::Attach, and target has no process");
OpenPOWER on IntegriCloud