summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp')
-rw-r--r--lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
index a121f8d3afd..b6ba70289d9 100644
--- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
@@ -957,9 +957,8 @@ ProcessWindows::OnDebugException(bool first_chance,
}
if (!first_chance) {
- // Not any second chance exception is an application crash by definition.
- // It may be an expression evaluation crash.
- SetPrivateState(eStateStopped);
+ // Any second chance exception is an application crash by definition.
+ SetPrivateState(eStateCrashed);
}
ExceptionResult result = ExceptionResult::SendToApplication;
OpenPOWER on IntegriCloud