diff options
| author | Ed Maste <emaste@freebsd.org> | 2015-06-24 16:24:56 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2015-06-24 16:24:56 +0000 |
| commit | 4a8d32b7337cd2a125e008814f90a0d6e6156329 (patch) | |
| tree | 604c8110fc5b00ecb1514f4267c5ee939d250a5b /lldb/source | |
| parent | 6b8d26c209cac64b3b830f6113e39a4d49cec759 (diff) | |
| download | bcm5719-llvm-4a8d32b7337cd2a125e008814f90a0d6e6156329.tar.gz bcm5719-llvm-4a8d32b7337cd2a125e008814f90a0d6e6156329.zip | |
Remove empty ProcessPOSIX::StopAllThreads
The removal of ProcessLinux in r240543 left only an empty
StopAllThreads (it's not needed on FreeBSD), so just remove it too.
llvm-svn: 240549
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.cpp | 11 | ||||
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.h | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.cpp b/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.cpp index db1c32dee63..360382e2e63 100644 --- a/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.cpp @@ -385,13 +385,11 @@ ProcessPOSIX::SendMessage(const ProcessMessage &message) } else { - StopAllThreads(message.GetTID()); SetPrivateState(eStateStopped); } } else { - StopAllThreads(message.GetTID()); SetPrivateState(eStateStopped); } break; @@ -427,7 +425,6 @@ ProcessPOSIX::SendMessage(const ProcessMessage &message) case ProcessMessage::eCrashMessage: assert(thread); thread->SetState(eStateStopped); - StopAllThreads(message.GetTID()); SetPrivateState(eStateStopped); break; @@ -440,7 +437,6 @@ ProcessPOSIX::SendMessage(const ProcessMessage &message) } assert(thread); thread->SetState(eStateStopped); - StopAllThreads(message.GetTID()); SetPrivateState(eStateStopped); break; } @@ -449,7 +445,6 @@ ProcessPOSIX::SendMessage(const ProcessMessage &message) { assert(thread); thread->SetState(eStateStopped); - StopAllThreads(message.GetTID()); SetPrivateState(eStateStopped); break; } @@ -459,12 +454,6 @@ ProcessPOSIX::SendMessage(const ProcessMessage &message) m_message_queue.push(message); } -void -ProcessPOSIX::StopAllThreads(lldb::tid_t stop_tid) -{ - // FIXME: Will this work the same way on FreeBSD and Linux? -} - bool ProcessPOSIX::AddThreadForInitialStopIfNeeded(lldb::tid_t stop_tid) { diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.h b/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.h index 7d5ec68de57..70694cb9b19 100644 --- a/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.h +++ b/lldb/source/Plugins/Process/FreeBSD/ProcessPOSIX.h @@ -156,11 +156,6 @@ public: const lldb_private::FileSpec &default_file_spec, const lldb_private::FileSpec &dbg_pts_file_spec); - /// Stops all threads in the process. - /// The \p stop_tid parameter indicates the thread which initiated the stop. - virtual void - StopAllThreads(lldb::tid_t stop_tid); - /// Adds the thread to the list of threads for which we have received the initial stopping signal. /// The \p stop_tid parameter indicates the thread which the stop happened for. bool |

