[Lldb-commits] [lldb] r138899 - in /lldb/trunk/tools/debugserver/source/MacOSX: i386/DNBArchImplI386.cpp i386/DNBArchImplI386.h x86_64/DNBArchImplX86_64.cpp x86_64/DNBArchImplX86_64.h

Johnny Chen johnny.chen at apple.com
Wed Aug 31 14:19:39 PDT 2011


Author: johnny
Date: Wed Aug 31 16:19:39 2011
New Revision: 138899

URL: http://llvm.org/viewvc/llvm-project?rev=138899&view=rev
Log:
Renamed the helper method to ClearWatchpointHits() for clarity of its purpose.

Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
    lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h
    lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
    lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h

Modified: lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp?rev=138899&r1=138898&r2=138899&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp Wed Aug 31 16:19:39 2011
@@ -735,7 +735,7 @@
 
 // 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;

Modified: lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h?rev=138899&r1=138898&r2=138899&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/i386/DNBArchImplI386.h Wed Aug 31 16:19:39 2011
@@ -230,7 +230,7 @@
     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;

Modified: lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp?rev=138899&r1=138898&r2=138899&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp Wed Aug 31 16:19:39 2011
@@ -663,7 +663,7 @@
 
 // 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;

Modified: lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h?rev=138899&r1=138898&r2=138899&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.h Wed Aug 31 16:19:39 2011
@@ -237,7 +237,7 @@
     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;





More information about the lldb-commits mailing list