Renamed the helper method to ClearWatchpointHits() for clarity of its purpose.

llvm-svn: 138899
This commit is contained in:
Johnny Chen 2011-08-31 21:19:39 +00:00
parent 99bc84662f
commit a18460635a
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;