Home
last modified time | relevance | path

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

/external/llvm-project/lldb/tools/debugserver/source/MacOSX/i386/
DDNBArchImplI386.h218 static void SetHardwareBreakpoint(DBG &debug_state, uint32_t hw_index,
222 static void SetWatchpoint(DBG &debug_state, uint32_t hw_index,
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.cpp623 DBG &debug_state = m_state.context.dbg; in ThreadWillResume() local
627 if (IsWatchpointHit(debug_state, i)) in ThreadWillResume()
631 ClearWatchpointHits(debug_state); in ThreadWillResume()
755 void DNBArchImplI386::SetWatchpoint(DBG &debug_state, uint32_t hw_index, in SetWatchpoint() argument
781 debug_state.__dr7 |= in SetWatchpoint()
787 debug_state.__dr0 = addr_32; in SetWatchpoint()
790 debug_state.__dr1 = addr_32; in SetWatchpoint()
793 debug_state.__dr2 = addr_32; in SetWatchpoint()
796 debug_state.__dr3 = addr_32; in SetWatchpoint()
805 void DNBArchImplI386::SetHardwareBreakpoint(DBG &debug_state, uint32_t hw_index, in SetHardwareBreakpoint() argument
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/x86_64/
DDNBArchImplX86_64.h222 static void SetHardwareBreakpoint(DBG &debug_state, uint32_t hw_index,
226 static void SetWatchpoint(DBG &debug_state, uint32_t hw_index,
229 static void ClearWatchpoint(DBG &debug_state, uint32_t hw_index);
230 static bool IsWatchpointVacant(const DBG &debug_state, uint32_t hw_index);
231 static void ClearWatchpointHits(DBG &debug_state);
232 static bool IsWatchpointHit(const DBG &debug_state, uint32_t hw_index);
233 static nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
DDNBArchImplX86_64.cpp578 DBG &debug_state = m_state.context.dbg; in ThreadWillResume() local
582 if (IsWatchpointHit(debug_state, i)) in ThreadWillResume()
586 ClearWatchpointHits(debug_state); in ThreadWillResume()
711 void DNBArchImplX86_64::SetWatchpoint(DBG &debug_state, uint32_t hw_index, in SetWatchpoint() argument
737 debug_state.__dr7 |= in SetWatchpoint()
742 debug_state.__dr0 = addr; in SetWatchpoint()
745 debug_state.__dr1 = addr; in SetWatchpoint()
748 debug_state.__dr2 = addr; in SetWatchpoint()
751 debug_state.__dr3 = addr; in SetWatchpoint()
760 void DNBArchImplX86_64::ClearWatchpoint(DBG &debug_state, uint32_t hw_index) { in ClearWatchpoint() argument
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/
DDNBArchImplARM64.h218 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index);
220 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
DDNBArchImplARM64.cpp1091 DBG &debug_state = m_state.dbg; in GetHardwareWatchpointHit() local
1094 nub_addr_t wp_addr = GetWatchAddress(debug_state, i); in GetHardwareWatchpointHit()
1095 uint32_t byte_mask = bits(debug_state.__wcr[i], 12, 5); in GetHardwareWatchpointHit()
1103 if (!IsWatchpointEnabled(debug_state, i)) in GetHardwareWatchpointHit()
1137 bool DNBArchMachARM64::IsWatchpointEnabled(const DBG &debug_state, in IsWatchpointEnabled() argument
1144 return (debug_state.__wcr[hw_index] & 1u); in IsWatchpointEnabled()
1147 nub_addr_t DNBArchMachARM64::GetWatchAddress(const DBG &debug_state, in GetWatchAddress() argument
1153 return bits(debug_state.__wvr[hw_index], 63, 0); in GetWatchAddress()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/
DDNBArchImpl.h239 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index);
241 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
DDNBArchImpl.cpp1368 DBG &debug_state = m_state.dbg; in GetHardwareWatchpointHit() local
1371 nub_addr_t wp_addr = GetWatchAddress(debug_state, i); in GetHardwareWatchpointHit()
1378 uint32_t byte_mask = bits(debug_state.__wcr[i], 12, 5); in GetHardwareWatchpointHit()
1380 uint32_t byte_mask = bits(debug_state.__wcr[i], 8, 5); in GetHardwareWatchpointHit()
1409 bool DNBArchMachARM::IsWatchpointEnabled(const DBG &debug_state, in IsWatchpointEnabled() argument
1416 return (debug_state.__wcr[hw_index] & 1u); in IsWatchpointEnabled()
1419 nub_addr_t DNBArchMachARM::GetWatchAddress(const DBG &debug_state, in GetWatchAddress() argument
1425 return bits(debug_state.__wvr[hw_index], 31, 0); in GetWatchAddress()
/external/deqp/external/openglcts/modules/common/
DglcKHRDebugTests.cpp1816 GLboolean debug_state = -1; in inspectDebugState() local
1817 m_gl->getBooleanv(GL_DEBUG_OUTPUT, &debug_state); in inspectDebugState()
1820 if (expected_state != debug_state) in inspectDebugState()
1822 m_testCtx.getLog() << tcu::TestLog::Message << "State of DEBUG_OUTPUT: " << debug_state in inspectDebugState()