summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/DNB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/debugserver/source/DNB.cpp')
-rw-r--r--lldb/tools/debugserver/source/DNB.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/lldb/tools/debugserver/source/DNB.cpp b/lldb/tools/debugserver/source/DNB.cpp
index b5c2da96932..ff68a80e8f3 100644
--- a/lldb/tools/debugserver/source/DNB.cpp
+++ b/lldb/tools/debugserver/source/DNB.cpp
@@ -210,14 +210,7 @@ kqueue_thread (void *arg)
if (exited)
{
if (death_event.data & NOTE_EXIT_MEMORY)
- {
- if (death_event.data & NOTE_VM_PRESSURE)
- DNBProcessSetExitInfo (child_pid, "Terminated due to Memory Pressure");
- else if (death_event.data & NOTE_VM_ERROR)
- DNBProcessSetExitInfo (child_pid, "Terminated due to Memory Error");
- else
- DNBProcessSetExitInfo (child_pid, "Terminated due to unknown Memory condition");
- }
+ DNBProcessSetExitInfo (child_pid, "Terminated due to memory issue");
else if (death_event.data & NOTE_EXIT_DECRYPTFAIL)
DNBProcessSetExitInfo (child_pid, "Terminated due to decrypt failure");
else if (death_event.data & NOTE_EXIT_CSERROR)
OpenPOWER on IntegriCloud