summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/WatchpointList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Breakpoint/WatchpointList.cpp')
-rw-r--r--lldb/source/Breakpoint/WatchpointList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Breakpoint/WatchpointList.cpp b/lldb/source/Breakpoint/WatchpointList.cpp
index a3f2bbb57e5..f95265993ae 100644
--- a/lldb/source/Breakpoint/WatchpointList.cpp
+++ b/lldb/source/Breakpoint/WatchpointList.cpp
@@ -273,5 +273,5 @@ WatchpointList::RemoveAll ()
void
WatchpointList::GetListMutex (Mutex::Locker &locker)
{
- return locker.Reset (m_mutex.GetMutex());
+ return locker.Lock (m_mutex.GetMutex());
}
OpenPOWER on IntegriCloud