forked from OSchip/llvm-project
Renamed the helper method to ClearWatchpointHits() for clarity of its purpose.
llvm-svn: 138899
This commit is contained in:
parent
99bc84662f
commit
a18460635a
|
@ -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.
|
// Resets local copy of debug status register to wait for the next debug excpetion.
|
||||||
void
|
void
|
||||||
DNBArchImplI386::ClearWatchpointHit(DBG &debug_state)
|
DNBArchImplI386::ClearWatchpointHits(DBG &debug_state)
|
||||||
{
|
{
|
||||||
// See also IsWatchpointHit().
|
// See also IsWatchpointHit().
|
||||||
debug_state.__dr6 = 0;
|
debug_state.__dr6 = 0;
|
||||||
|
|
|
@ -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 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 void ClearWatchpoint(DBG &debug_state, uint32_t hw_index);
|
||||||
static bool IsVacantWatchpoint(const 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);
|
static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index);
|
||||||
|
|
||||||
MachThread *m_thread;
|
MachThread *m_thread;
|
||||||
|
|
|
@ -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.
|
// Resets local copy of debug status register to wait for the next debug excpetion.
|
||||||
void
|
void
|
||||||
DNBArchImplX86_64::ClearWatchpointHit(DBG &debug_state)
|
DNBArchImplX86_64::ClearWatchpointHits(DBG &debug_state)
|
||||||
{
|
{
|
||||||
// See also IsWatchpointHit().
|
// See also IsWatchpointHit().
|
||||||
debug_state.__dr6 = 0;
|
debug_state.__dr6 = 0;
|
||||||
|
|
|
@ -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 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 void ClearWatchpoint(DBG &debug_state, uint32_t hw_index);
|
||||||
static bool IsVacantWatchpoint(const 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);
|
static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index);
|
||||||
|
|
||||||
MachThread *m_thread;
|
MachThread *m_thread;
|
||||||
|
|
Loading…
Reference in New Issue