From a18460635a0fcdb71d4c6168d215ebb155af6612 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Wed, 31 Aug 2011 21:19:39 +0000 Subject: [PATCH] Renamed the helper method to ClearWatchpointHits() for clarity of its purpose. llvm-svn: 138899 --- lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp | 2 +- lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h | 2 +- .../debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp | 2 +- lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp index fe1ce53dda7e..fca934f5cf1f 100644 --- a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp +++ b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp @@ -735,7 +735,7 @@ DNBArchImplI386::IsVacantWatchpoint(const DBG &debug_state, uint32_t hw_index) // Resets local copy of debug status register to wait for the next debug excpetion. void -DNBArchImplI386::ClearWatchpointHit(DBG &debug_state) +DNBArchImplI386::ClearWatchpointHits(DBG &debug_state) { // See also IsWatchpointHit(). debug_state.__dr6 = 0; diff --git a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h index bc48110b0bb9..df83bba09edd 100644 --- a/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h +++ b/lldb/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h @@ -230,7 +230,7 @@ protected: static void SetWatchpoint(DBG &debug_state, uint32_t hw_index, nub_addr_t addr, nub_size_t size, bool read, bool write); static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index); static bool IsVacantWatchpoint(const DBG &debug_state, uint32_t hw_index); - static void ClearWatchpointHit(DBG &debug_state); + static void ClearWatchpointHits(DBG &debug_state); static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index); MachThread *m_thread; diff --git a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp index e3679375dd8d..88cc70498281 100644 --- a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp +++ b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp @@ -663,7 +663,7 @@ DNBArchImplX86_64::IsVacantWatchpoint(const DBG &debug_state, uint32_t hw_index) // Resets local copy of debug status register to wait for the next debug excpetion. void -DNBArchImplX86_64::ClearWatchpointHit(DBG &debug_state) +DNBArchImplX86_64::ClearWatchpointHits(DBG &debug_state) { // See also IsWatchpointHit(). debug_state.__dr6 = 0; diff --git a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h index a54053e14f12..276567af38b5 100644 --- a/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h +++ b/lldb/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h @@ -237,7 +237,7 @@ protected: static void SetWatchpoint(DBG &debug_state, uint32_t hw_index, nub_addr_t addr, nub_size_t size, bool read, bool write); static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index); static bool IsVacantWatchpoint(const DBG &debug_state, uint32_t hw_index); - static void ClearWatchpointHit(DBG &debug_state); + static void ClearWatchpointHits(DBG &debug_state); static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index); MachThread *m_thread;