summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2017-09-18 15:59:44 +0000
committerAdrian McCarthy <amccarth@google.com>2017-09-18 15:59:44 +0000
commit8f31dc9754cc849db093494abbe4c574adb8cdbb (patch)
tree7f3a62320c56a09cde2bb0456012ee60eeb18cd8 /lldb/source/Commands/CommandObjectThread.cpp
parent25c6d26131ac830282ef78556e408f89b4c64a9e (diff)
downloadbcm5719-llvm-8f31dc9754cc849db093494abbe4c574adb8cdbb.tar.gz
bcm5719-llvm-8f31dc9754cc849db093494abbe4c574adb8cdbb.zip
Revert "Fix for bug 34532 - A few rough corners related to post-mortem debugging (core/minidump)"
Broke Windows and FreeBSD (at least). This reverts commit 628ca7052b4a5dbace0f6205409113e12c8a78fa. llvm-svn: 313540
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index b68aa920b58..6a933df43e1 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -94,7 +94,7 @@ public:
bool all_threads = false;
if (command.GetArgumentCount() == 0) {
Thread *thread = m_exe_ctx.GetThreadPtr();
- if (!thread || !HandleOneThread(thread->GetID(), result))
+ if (!HandleOneThread(thread->GetID(), result))
return false;
return result.Succeeded();
} else if (command.GetArgumentCount() == 1) {
@@ -775,12 +775,6 @@ protected:
else
error = process->Resume();
- if (!error.Success()) {
- result.AppendMessage(error.AsCString());
- result.SetStatus(eReturnStatusFailed);
- return false;
- }
-
// There is a race condition where this thread will return up the call
// stack to the main command handler
// and show an (lldb) prompt before HandlePrivateEvent (from
OpenPOWER on IntegriCloud