diff options
Diffstat (limited to 'lldb/source/Target/StopInfo.cpp')
-rw-r--r-- | lldb/source/Target/StopInfo.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp index 9d62dd9df9a..77a960a260a 100644 --- a/lldb/source/Target/StopInfo.cpp +++ b/lldb/source/Target/StopInfo.cpp @@ -435,8 +435,9 @@ public: { if (process && watchpoint) { + const bool notify = false; watchpoint->TurnOnEphemeralMode(); - process->DisableWatchpoint(watchpoint); + process->DisableWatchpoint(watchpoint, notify); } } ~WatchpointSentry() @@ -444,7 +445,10 @@ public: if (process && watchpoint) { if (!watchpoint->IsDisabledDuringEphemeralMode()) - process->EnableWatchpoint(watchpoint); + { + const bool notify = false; + process->EnableWatchpoint(watchpoint, notify); + } watchpoint->TurnOffEphemeralMode(); } } |