diff options
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/POSIXThread.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/POSIX/POSIXThread.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp index 3b2ae03bd71..9210408fdad 100644 --- a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp +++ b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp @@ -150,19 +150,12 @@ POSIXThread::GetUnwinder() return m_unwinder_ap.get(); } -bool +void POSIXThread::WillResume(lldb::StateType resume_state) { + // TODO: the line below shouldn't really be done, but + // the POSIXThread might rely on this so I will leave this in for now SetResumeState(resume_state); - - if (!Thread::WillResume(resume_state)) - return false; - - if (m_unwinder_ap.get()) - m_unwinder_ap->Clear(); - Thread::ClearStackFrames(); - - return true; } bool |