diff options
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachProcess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp b/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp index 730aefd8800..9f57788b9e0 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.cpp @@ -418,8 +418,8 @@ MachProcess::DoSIGSTOP (bool clear_bps_and_wps, uint32_t *thread_idx_ptr) { DisableAllBreakpoints (true); DisableAllWatchpoints (true); - // Silence static analyzer. - // clear_bps_and_wps = false; + // The static analyzer complains about this, but just leave the following line in. + clear_bps_and_wps = false; } uint32_t thread_idx = m_thread_list.GetThreadIndexForThreadStoppedWithSignal (SIGSTOP); if (thread_idx_ptr) |