Searched refs:debug_state (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/x86_64/ |
| H A D | DNBArchImplX86_64.h | 222 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);
|
| H A D | DNBArchImplX86_64.cpp | 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() 764 debug_state.__dr0 = 0; in ClearWatchpoint() 767 debug_state.__dr1 = 0; in ClearWatchpoint() 770 debug_state.__dr2 = 0; in ClearWatchpoint() 773 debug_state.__dr3 = 0; in ClearWatchpoint() 799 debug_state.__dr6 = 0; in ClearWatchpointHits() [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/i386/ |
| H A D | DNBArchImplI386.h | 218 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);
|
| H A D | DNBArchImplI386.cpp | 781 debug_state.__dr7 |= in SetWatchpoint() 787 debug_state.__dr0 = addr_32; in SetWatchpoint() 954 debug_state.__dr0 = 0; in ClearWatchpoint() 957 debug_state.__dr1 = 0; in ClearWatchpoint() 960 debug_state.__dr2 = 0; in ClearWatchpoint() 963 debug_state.__dr3 = 0; in ClearWatchpoint() 989 debug_state.__dr6 = 0; in ClearWatchpointHits() 1010 return debug_state.__dr0; in GetWatchAddress() 1012 return debug_state.__dr1; in GetWatchAddress() 1014 return debug_state.__dr2; in GetWatchAddress() [all …]
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/arm64/ |
| H A D | DNBArchImplARM64.h | 217 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index); 219 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
| H A D | DNBArchImplARM64.cpp | 1096 DBG &debug_state = m_state.dbg; in GetHardwareWatchpointHit() local 1099 nub_addr_t wp_addr = GetWatchAddress(debug_state, i); in GetHardwareWatchpointHit() 1100 uint32_t byte_mask = bits(debug_state.__wcr[i], 12, 5); in GetHardwareWatchpointHit() 1108 if (!IsWatchpointEnabled(debug_state, i)) in GetHardwareWatchpointHit() 1142 bool DNBArchMachARM64::IsWatchpointEnabled(const DBG &debug_state, in IsWatchpointEnabled() argument 1149 return (debug_state.__wcr[hw_index] & 1u); in IsWatchpointEnabled() 1152 nub_addr_t DNBArchMachARM64::GetWatchAddress(const DBG &debug_state, in GetWatchAddress() argument 1158 return bits(debug_state.__wvr[hw_index], 63, 0); in GetWatchAddress()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/arm/ |
| H A D | DNBArchImpl.h | 238 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index); 240 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
| H A D | DNBArchImpl.cpp | 1372 DBG &debug_state = m_state.dbg; in GetHardwareWatchpointHit() local 1375 nub_addr_t wp_addr = GetWatchAddress(debug_state, i); in GetHardwareWatchpointHit() 1382 uint32_t byte_mask = bits(debug_state.__wcr[i], 12, 5); in GetHardwareWatchpointHit() 1384 uint32_t byte_mask = bits(debug_state.__wcr[i], 8, 5); in GetHardwareWatchpointHit() 1413 bool DNBArchMachARM::IsWatchpointEnabled(const DBG &debug_state, in IsWatchpointEnabled() argument 1420 return (debug_state.__wcr[hw_index] & 1u); in IsWatchpointEnabled() 1423 nub_addr_t DNBArchMachARM::GetWatchAddress(const DBG &debug_state, in GetWatchAddress() argument 1429 return bits(debug_state.__wvr[hw_index], 31, 0); in GetWatchAddress()
|