/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
D | RegisterContextPOSIXProcessMonitor_x86.cpp | 411 uint32_t hw_index; in SetHardwareWatchpoint() local 413 for (hw_index = 0; hw_index < num_hw_watchpoints; ++hw_index) { in SetHardwareWatchpoint() 414 if (IsWatchpointVacant(hw_index)) in SetHardwareWatchpoint() 415 return SetHardwareWatchpointWithIndex(addr, size, read, write, hw_index); in SetHardwareWatchpoint() 422 uint32_t hw_index) { in ClearHardwareWatchpoint() argument 423 if (hw_index < NumSupportedHardwareWatchpoints()) { in ClearHardwareWatchpoint() 428 current_dr7_bits.GetAsUInt64() & ~(3 << (2 * hw_index)); in ClearHardwareWatchpoint() 484 uint32_t hw_index) { in IsWatchpointHit() argument 496 if (hw_index < NumSupportedHardwareWatchpoints()) { in IsWatchpointHit() 501 is_hit = val & (1 << hw_index); in IsWatchpointHit() [all …]
|
D | RegisterContextPOSIXProcessMonitor_mips64.cpp | 193 uint32_t hw_index; in SetHardwareWatchpoint() local 195 for (hw_index = 0; hw_index < num_hw_watchpoints; ++hw_index) { in SetHardwareWatchpoint() 196 if (IsWatchpointVacant(hw_index)) in SetHardwareWatchpoint() 197 return SetHardwareWatchpointWithIndex(addr, size, read, write, hw_index); in SetHardwareWatchpoint() 204 uint32_t hw_index) { in ClearHardwareWatchpoint() argument 236 uint32_t hw_index) { in IsWatchpointHit() argument 245 uint32_t hw_index) { in GetWatchpointAddress() argument 250 uint32_t hw_index) { in IsWatchpointVacant() argument 255 addr_t addr, size_t size, bool read, bool write, uint32_t hw_index) { in SetHardwareWatchpointWithIndex() argument
|
D | RegisterContextPOSIXProcessMonitor_arm.cpp | 194 uint32_t hw_index; in SetHardwareWatchpoint() local 196 for (hw_index = 0; hw_index < num_hw_watchpoints; ++hw_index) { in SetHardwareWatchpoint() 197 if (IsWatchpointVacant(hw_index)) in SetHardwareWatchpoint() 198 return SetHardwareWatchpointWithIndex(addr, size, read, write, hw_index); in SetHardwareWatchpoint() 205 uint32_t hw_index) { in ClearHardwareWatchpoint() argument 234 uint32_t hw_index) { in IsWatchpointHit() argument 243 uint32_t hw_index) { in GetWatchpointAddress() argument 248 uint32_t hw_index) { in IsWatchpointVacant() argument 253 addr_t addr, size_t size, bool read, bool write, uint32_t hw_index) { in SetHardwareWatchpointWithIndex() argument
|
D | RegisterContextPOSIXProcessMonitor_arm64.cpp | 203 uint32_t hw_index; in SetHardwareWatchpoint() local 205 for (hw_index = 0; hw_index < num_hw_watchpoints; ++hw_index) { in SetHardwareWatchpoint() 206 if (IsWatchpointVacant(hw_index)) in SetHardwareWatchpoint() 207 return SetHardwareWatchpointWithIndex(addr, size, read, write, hw_index); in SetHardwareWatchpoint() 214 uint32_t hw_index) { in ClearHardwareWatchpoint() argument 241 uint32_t hw_index) { in IsWatchpointHit() argument 250 uint32_t hw_index) { in GetWatchpointAddress() argument 255 uint32_t hw_index) { in IsWatchpointVacant() argument 260 lldb::addr_t addr, size_t size, bool read, bool write, uint32_t hw_index) { in SetHardwareWatchpointWithIndex() argument
|
D | RegisterContextPOSIXProcessMonitor_powerpc.cpp | 207 uint32_t hw_index; in SetHardwareWatchpoint() local 209 for (hw_index = 0; hw_index < num_hw_watchpoints; ++hw_index) { in SetHardwareWatchpoint() 210 if (IsWatchpointVacant(hw_index)) in SetHardwareWatchpoint() 211 return SetHardwareWatchpointWithIndex(addr, size, read, write, hw_index); in SetHardwareWatchpoint() 218 uint32_t hw_index) { in ClearHardwareWatchpoint() argument 248 uint32_t hw_index) { in IsWatchpointHit() argument 257 uint32_t hw_index) { in GetWatchpointAddress() argument 262 uint32_t hw_index) { in IsWatchpointVacant() argument 267 addr_t addr, size_t size, bool read, bool write, uint32_t hw_index) { in SetHardwareWatchpointWithIndex() argument
|
D | RegisterContextPOSIXProcessMonitor_x86.h | 52 bool ClearHardwareWatchpoint(uint32_t hw_index) override; 61 bool IsWatchpointHit(uint32_t hw_index) override; 65 lldb::addr_t GetWatchpointAddress(uint32_t hw_index) override; 67 bool IsWatchpointVacant(uint32_t hw_index) override; 70 bool write, uint32_t hw_index) override;
|
D | RegisterContextPOSIXProcessMonitor_arm64.h | 51 bool ClearHardwareWatchpoint(uint32_t hw_index) override; 60 bool IsWatchpointHit(uint32_t hw_index) override; 64 lldb::addr_t GetWatchpointAddress(uint32_t hw_index) override; 66 bool IsWatchpointVacant(uint32_t hw_index) override; 69 bool write, uint32_t hw_index) override;
|
D | RegisterContextPOSIXProcessMonitor_powerpc.h | 58 bool ClearHardwareWatchpoint(uint32_t hw_index) override; 67 bool IsWatchpointHit(uint32_t hw_index) override; 71 lldb::addr_t GetWatchpointAddress(uint32_t hw_index) override; 73 bool IsWatchpointVacant(uint32_t hw_index) override; 76 bool write, uint32_t hw_index) override;
|
D | RegisterContextPOSIXProcessMonitor_arm.h | 50 bool ClearHardwareWatchpoint(uint32_t hw_index) override; 59 bool IsWatchpointHit(uint32_t hw_index) override; 63 lldb::addr_t GetWatchpointAddress(uint32_t hw_index) override; 65 bool IsWatchpointVacant(uint32_t hw_index) override; 68 bool write, uint32_t hw_index) override;
|
D | RegisterContextPOSIXProcessMonitor_mips64.h | 54 bool ClearHardwareWatchpoint(uint32_t hw_index) override; 63 bool IsWatchpointHit(uint32_t hw_index) override; 67 lldb::addr_t GetWatchpointAddress(uint32_t hw_index) override; 69 bool IsWatchpointVacant(uint32_t hw_index) override; 72 bool write, uint32_t hw_index) override;
|
D | RegisterContextPOSIX.h | 38 virtual bool IsWatchpointHit(uint32_t hw_index) = 0; 45 virtual lldb::addr_t GetWatchpointAddress(uint32_t hw_index) = 0; 47 virtual bool IsWatchpointVacant(uint32_t hw_index) = 0; 51 uint32_t hw_index) = 0;
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/ |
D | DNBArchImplARM64.cpp | 495 uint32_t hw_index = GetHardwareWatchpointHit(addr); in NotifyException() local 504 hw_index, (uint64_t)addr); in NotifyException() 507 if (LoHi[i] != 0 && LoHi[i] == hw_index && LoHi[i] != i && in NotifyException() 517 if (hw_index != INVALID_NUB_HW_INDEX) { in NotifyException() 519 m_watchpoint_hw_index = hw_index; in NotifyException() 522 exc.exc_data.push_back(hw_index); in NotifyException() 961 bool DNBArchMachARM64::ReenableHardwareWatchpoint(uint32_t hw_index) { in ReenableHardwareWatchpoint() argument 965 if (hw_index < NumSupportedHardwareWatchpoints() && LoHi[hw_index]) { in ReenableHardwareWatchpoint() 966 return ReenableHardwareWatchpoint_helper(hw_index) && in ReenableHardwareWatchpoint() 967 ReenableHardwareWatchpoint_helper(LoHi[hw_index]); in ReenableHardwareWatchpoint() [all …]
|
D | DNBArchImplARM64.h | 218 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index); 219 nub_addr_t GetWatchpointAddressByIndex(uint32_t hw_index); 220 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/ |
D | DNBArchImpl.cpp | 641 uint32_t hw_index = GetHardwareWatchpointHit(addr); in NotifyException() local 645 hw_index, (uint64_t)addr); in NotifyException() 648 if (LoHi[i] != 0 && LoHi[i] == hw_index && LoHi[i] != i && in NotifyException() 657 if (hw_index != INVALID_NUB_HW_INDEX) { in NotifyException() 659 m_watchpoint_hw_index = hw_index; in NotifyException() 662 exc.exc_data.push_back(hw_index); in NotifyException() 1056 bool DNBArchMachARM::DisableHardwareBreakpoint(uint32_t hw_index, in DisableHardwareBreakpoint() argument 1062 if (hw_index < num_hw_points) { in DisableHardwareBreakpoint() 1063 m_state.dbg.__bcr[hw_index] = 0; in DisableHardwareBreakpoint() 1067 hw_index, hw_index, m_state.dbg.__bvr[hw_index], in DisableHardwareBreakpoint() [all …]
|
D | DNBArchImpl.h | 239 bool IsWatchpointEnabled(const DBG &debug_state, uint32_t hw_index); 240 nub_addr_t GetWatchpointAddressByIndex(uint32_t hw_index); 241 nub_addr_t GetWatchAddress(const DBG &debug_state, uint32_t hw_index);
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/i386/ |
D | DNBArchImplI386.h | 58 bool DisableHardwareBreakpoint(uint32_t hw_index, 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); 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);
|
D | DNBArchImplI386.cpp | 701 uint32_t hw_index = GetHardwareWatchpointHit(addr); in NotifyException() local 702 if (hw_index != INVALID_NUB_HW_INDEX) { in NotifyException() 705 exc.exc_data.push_back(hw_index); in NotifyException() 755 void DNBArchImplI386::SetWatchpoint(DBG &debug_state, uint32_t hw_index, in SetWatchpoint() argument 782 (1 << (2 * hw_index) | in SetWatchpoint() 783 size_and_rw_bits(size, read, write) << (16 + 4 * hw_index)); in SetWatchpoint() 785 switch (hw_index) { in SetWatchpoint() 805 void DNBArchImplI386::SetHardwareBreakpoint(DBG &debug_state, uint32_t hw_index, in SetHardwareBreakpoint() argument 830 debug_state.__dr7 |= (1 << (2 * hw_index) | 0 << (16 + 4 * hw_index)); in SetHardwareBreakpoint() 832 switch (hw_index) { in SetHardwareBreakpoint() [all …]
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/x86_64/ |
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); 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);
|
D | DNBArchImplX86_64.cpp | 657 uint32_t hw_index = GetHardwareWatchpointHit(addr); in NotifyException() local 658 if (hw_index != INVALID_NUB_HW_INDEX) { in NotifyException() 661 exc.exc_data.push_back(hw_index); in NotifyException() 711 void DNBArchImplX86_64::SetWatchpoint(DBG &debug_state, uint32_t hw_index, in SetWatchpoint() argument 738 (1 << (2 * hw_index) | in SetWatchpoint() 739 size_and_rw_bits(size, read, write) << (16 + 4 * hw_index)); in SetWatchpoint() 740 switch (hw_index) { in SetWatchpoint() 760 void DNBArchImplX86_64::ClearWatchpoint(DBG &debug_state, uint32_t hw_index) { in ClearWatchpoint() argument 761 debug_state.__dr7 &= ~(3 << (2 * hw_index)); in ClearWatchpoint() 762 switch (hw_index) { in ClearWatchpoint() [all …]
|
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
D | MachThreadList.cpp | 491 uint32_t hw_index = INVALID_NUB_HW_INDEX; in DoHardwareBreakpointAction() local 501 hw_index = m_threads[idx]->EnableHardwareWatchpoint(bp, also_set_on_task); in DoHardwareBreakpointAction() 504 hw_index = in DoHardwareBreakpointAction() 508 hw_index = m_threads[idx]->EnableHardwareBreakpoint(bp, also_set_on_task); in DoHardwareBreakpointAction() 511 hw_index = in DoHardwareBreakpointAction() 515 if (hw_index == INVALID_NUB_HW_INDEX) { in DoHardwareBreakpointAction() 527 return hw_index; in DoHardwareBreakpointAction()
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | DNBArch.h | 91 virtual bool DisableHardwareBreakpoint(uint32_t hw_index, in DisableHardwareBreakpoint() argument 95 virtual bool DisableHardwareWatchpoint(uint32_t hw_index, in DisableHardwareWatchpoint() argument
|
D | DNBBreakpoint.h | 91 void SetHardwareIndex(uint32_t hw_index) { m_hw_index = hw_index; } in SetHardwareIndex() argument
|
/external/llvm-project/lldb/source/Plugins/Process/Utility/ |
D | RegisterContextThreadMemory.cpp | 180 bool RegisterContextThreadMemory::ClearHardwareWatchpoint(uint32_t hw_index) { in ClearHardwareWatchpoint() argument 183 return m_reg_ctx_sp->ClearHardwareWatchpoint(hw_index); in ClearHardwareWatchpoint()
|
/external/llvm-project/lldb/include/lldb/Host/common/ |
D | NativeRegisterContext.h | 78 virtual bool ClearHardwareWatchpoint(uint32_t hw_index); 80 virtual Status ClearWatchpointHit(uint32_t hw_index);
|
/external/llvm-project/lldb/source/API/ |
D | SBWatchpoint.cpp | 101 int32_t hw_index = -1; in GetHardwareIndex() local 107 hw_index = watchpoint_sp->GetHardwareIndex(); in GetHardwareIndex() 110 return hw_index; in GetHardwareIndex()
|