summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/elf-core
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2017-09-13 22:57:11 +0000
committerAdrian McCarthy <amccarth@google.com>2017-09-13 22:57:11 +0000
commit5fc4fa54db8b736607f2fdb6939c7ede14486af5 (patch)
tree633498434613a0b423f2f65128038409649e3182 /lldb/source/Plugins/Process/elf-core
parentc113801489ddc71d6b4011bd411c68d5b58f265c (diff)
downloadbcm5719-llvm-5fc4fa54db8b736607f2fdb6939c7ede14486af5.tar.gz
bcm5719-llvm-5fc4fa54db8b736607f2fdb6939c7ede14486af5.zip
Fix for bug 34532 - A few rough corners related to post-mortem debugging (core/minidump)
The main change is to avoid setting the process state as running when debugging core/minidumps (details in the bug). Also included a few small, related fixes around how the errors propagate in this case. patch by lemo Bug: https://bugs.llvm.org/show_bug.cgi?id=34532 Differential Revision: https://reviews.llvm.org/D37651 llvm-svn: 313210
Diffstat (limited to 'lldb/source/Plugins/Process/elf-core')
-rw-r--r--lldb/source/Plugins/Process/elf-core/ProcessElfCore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h b/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
index dbf7f926f85..25e23ffe10d 100644
--- a/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
+++ b/lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
@@ -89,6 +89,8 @@ public:
//------------------------------------------------------------------
bool IsAlive() override;
+ bool WarnBeforeDetach() const override { return false; }
+
//------------------------------------------------------------------
// Process Memory
//------------------------------------------------------------------
OpenPOWER on IntegriCloud