Home
last modified time | relevance | path

Searched refs:debug_state (Results 1 – 8 of 8) sorted by relevance

/external/lldb/tools/debugserver/source/MacOSX/x86_64/
DDNBArchImplX86_64.h231 …static void SetWatchpoint(DBG &debug_state, uint32_t hw_index, nub_addr_t addr, nub_size_t size, b…
232 static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index);
233 static bool IsWatchpointVacant(const DBG &debug_state, uint32_t hw_index);
234 static void ClearWatchpointHits(DBG &debug_state);
235 static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index);
236 static nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
DDNBArchImplX86_64.cpp542 DBG &debug_state = m_state.context.dbg; in ThreadWillResume() local
546 if (IsWatchpointHit(debug_state, i)) in ThreadWillResume()
551 ClearWatchpointHits(debug_state); in ThreadWillResume()
687 DNBArchImplX86_64::SetWatchpoint(DBG &debug_state, uint32_t hw_index, nub_addr_t addr, nub_size_t s… in SetWatchpoint() argument
711 debug_state.__dr7 |= (1 << (2*hw_index) | in SetWatchpoint()
715 debug_state.__dr0 = addr; break; in SetWatchpoint()
717 debug_state.__dr1 = addr; break; in SetWatchpoint()
719 debug_state.__dr2 = addr; break; in SetWatchpoint()
721 debug_state.__dr3 = addr; break; in SetWatchpoint()
729 DNBArchImplX86_64::ClearWatchpoint(DBG &debug_state, uint32_t hw_index) in ClearWatchpoint() argument
[all …]
/external/lldb/tools/debugserver/source/MacOSX/i386/
DDNBArchImplI386.h224 …static void SetWatchpoint(DBG &debug_state, uint32_t hw_index, nub_addr_t addr, nub_size_t size, b…
225 static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index);
226 static bool IsWatchpointVacant(const DBG &debug_state, uint32_t hw_index);
227 static void ClearWatchpointHits(DBG &debug_state);
228 static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index);
229 static nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
DDNBArchImplI386.cpp588 DBG &debug_state = m_state.context.dbg; in ThreadWillResume() local
592 if (IsWatchpointHit(debug_state, i)) in ThreadWillResume()
597 ClearWatchpointHits(debug_state); in ThreadWillResume()
733 DNBArchImplI386::SetWatchpoint(DBG &debug_state, uint32_t hw_index, nub_addr_t addr, nub_size_t siz… in SetWatchpoint() argument
757 debug_state.__dr7 |= (1 << (2*hw_index) | in SetWatchpoint()
762 debug_state.__dr0 = addr_32; break; in SetWatchpoint()
764 debug_state.__dr1 = addr_32; break; in SetWatchpoint()
766 debug_state.__dr2 = addr_32; break; in SetWatchpoint()
768 debug_state.__dr3 = addr_32; break; in SetWatchpoint()
776 DNBArchImplI386::ClearWatchpoint(DBG &debug_state, uint32_t hw_index) in ClearWatchpoint() argument
[all …]
/external/ltrace/sysdeps/linux-gnu/
Dos.h24 int debug_state; member
Dproc.c583 switch (proc->os.debug_state) { in rdebug_bp_on_hit()
597 proc->os.debug_state = rdbg.r_state; in rdebug_bp_on_hit()
726 proc->os.debug_state = 0; in os_process_init()
/external/lldb/tools/debugserver/source/MacOSX/arm/
DDNBArchImpl.h233 static bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index);
234 static nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
DDNBArchImpl.cpp1083 DBG &debug_state = m_state.dbg; in GetHardwareWatchpointHit() local
1087 nub_addr_t wp_addr = GetWatchAddress(debug_state, i); in GetHardwareWatchpointHit()
1092 uint32_t byte_mask = bits(debug_state.__wcr[i], 8, 5); in GetHardwareWatchpointHit()
1140 DNBArchMachARM::IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index) in IsWatchpointEnabled() argument
1147 return (debug_state.__wcr[hw_index] & 1u); in IsWatchpointEnabled()
1151 DNBArchMachARM::GetWatchAddress(const DBG &debug_state, uint32_t hw_index) in GetWatchAddress() argument
1157 return bits(debug_state.__wvr[hw_index], 31, 0); in GetWatchAddress()