diff options
author | Greg Clayton <gclayton@apple.com> | 2013-04-20 00:27:58 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-04-20 00:27:58 +0000 |
commit | d1d06e4744947c53fb4609f183a47fb12e9005a5 (patch) | |
tree | 4981fd5474b985cc37b5f0c224a39e6ae04df89c /lldb/source/Plugins/Process/Utility/ThreadMemory.cpp | |
parent | 71dba2ce89aeb166aee5728ed4bd5931ae14f37e (diff) | |
download | bcm5719-llvm-d1d06e4744947c53fb4609f183a47fb12e9005a5.tar.gz bcm5719-llvm-d1d06e4744947c53fb4609f183a47fb12e9005a5.zip |
<rdar://problem/13697881>
Fixed the GDB remote with the python OS plug-in to not show core threads when they aren't desired and also to have the threads "to the right thing" when continuing.
llvm-svn: 179912
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/ThreadMemory.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/ThreadMemory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Utility/ThreadMemory.cpp b/lldb/source/Plugins/Process/Utility/ThreadMemory.cpp index e7602b89020..62c6aeb9c75 100644 --- a/lldb/source/Plugins/Process/Utility/ThreadMemory.cpp +++ b/lldb/source/Plugins/Process/Utility/ThreadMemory.cpp @@ -57,10 +57,10 @@ bool ThreadMemory::WillResume (StateType resume_state) { ClearStackFrames(); - // Call the Thread::WillResume first. If we stop at a signal, the stop info - // class for signal will set the resume signal that we need below. The signal - // stuff obeys the Process::UnixSignal defaults. Thread::WillResume(resume_state); + + if (m_backing_thread_sp) + return m_backing_thread_sp->WillResume(resume_state); return true; } |