diff options
| author | Ed Maste <emaste@freebsd.org> | 2015-06-24 16:39:22 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2015-06-24 16:39:22 +0000 |
| commit | 0ded6293c781ad0215de59d68b9b42ccb730b6cf (patch) | |
| tree | 5b222396eb86ee75c3deeee65871d1db935ddb6e /lldb/source | |
| parent | 4a8d32b7337cd2a125e008814f90a0d6e6156329 (diff) | |
| download | bcm5719-llvm-0ded6293c781ad0215de59d68b9b42ccb730b6cf.tar.gz bcm5719-llvm-0ded6293c781ad0215de59d68b9b42ccb730b6cf.zip | |
Remove SetResumeState from POSIXThread::RefreshStateAfterStop
With the removal of ProcessLinux in r240543 this code is used only on
FreeBSD. FreeBSD isn't affected by whichever issue originally prompted
the addition of SetResumeState, so just remove it.
As discussed on the mailing list (and mentioned in a FIXME comment)
it shouldn't be called there.
llvm-svn: 240550
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp b/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp index 5294bbed8d2..854796fb744 100644 --- a/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/POSIXThread.cpp @@ -95,7 +95,6 @@ POSIXThread::GetMonitor() return process.GetMonitor(); } -// Overridden by FreeBSDThread; this is used only on Linux. void POSIXThread::RefreshStateAfterStop() { @@ -112,11 +111,6 @@ POSIXThread::RefreshStateAfterStop() const bool force = false; GetRegisterContext()->InvalidateIfNeeded (force); } - // FIXME: This should probably happen somewhere else. - SetResumeState(eStateRunning, true); - Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD)); - if (log) - log->Printf ("POSIXThread::%s (tid = %" PRIi64 ") setting thread resume state to running", __FUNCTION__, GetID()); } const char * |

