Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c224 static void ptrace_set_debugreg(pid_t child_pid, unsigned long wp_addr) in ptrace_set_debugreg() argument
226 if (ptrace(PTRACE_SET_DEBUGREG, child_pid, 0, wp_addr)) { in ptrace_set_debugreg()
257 unsigned long wp_addr = (unsigned long)&glvar; in test_set_debugreg() local
262 wp_addr &= ~0x7UL; in test_set_debugreg()
263 wp_addr |= (1UL << DABR_WRITE_SHIFT); in test_set_debugreg()
264 wp_addr |= (1UL << DABR_TRANSLATION_SHIFT); in test_set_debugreg()
266 ptrace_set_debugreg(child_pid, wp_addr); in test_set_debugreg()
268 check_success(child_pid, name, "WO", wp_addr, len); in test_set_debugreg()
272 wp_addr &= ~0x7UL; in test_set_debugreg()
273 wp_addr |= (1UL << DABR_READ_SHIFT); in test_set_debugreg()
[all …]
/external/llvm-project/lldb/source/Plugins/Process/POSIX/
DProcessMessage.h78 static ProcessMessage Watch(lldb::tid_t tid, lldb::addr_t wp_addr) { in Watch() argument
79 return ProcessMessage(tid, eWatchpointMessage, 0, wp_addr); in Watch()
/external/llvm-project/lldb/source/Breakpoint/
DWatchpointList.cpp59 lldb::addr_t wp_addr = (*pos)->GetLoadAddress(); in FindByAddress() local
61 if ((wp_addr <= addr) && ((wp_addr + wp_bytesize) > addr)) { in FindByAddress()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DFreeBSDThread.cpp388 addr_t wp_addr = wp->GetLoadAddress(); in EnableHardwareWatchpoint() local
396 wp_addr, wp_size, wp_read, wp_write, wp_hw_index); in EnableHardwareWatchpoint()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DNativeProcessWindows.cpp450 addr_t wp_addr = reg_ctx.GetWatchpointAddress(wp_id); in OnDebugException() local
453 formatv("{0} {1} {2}", wp_addr, wp_id, wp_hit_addr).str(); in OnDebugException()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm64/
DDNBArchImplARM64.cpp1094 nub_addr_t wp_addr = GetWatchAddress(debug_state, i); in GetHardwareWatchpointHit() local
1100 i, static_cast<uint64_t>(wp_addr), in GetHardwareWatchpointHit()
1106 if (bits(wp_addr, 48, 3) != bits(addr, 48, 3)) in GetHardwareWatchpointHit()
1117 addr = wp_addr + lsb; in GetHardwareWatchpointHit()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/arm/
DDNBArchImpl.cpp1371 nub_addr_t wp_addr = GetWatchAddress(debug_state, i); in GetHardwareWatchpointHit() local
1375 i, (uint64_t)wp_addr); in GetHardwareWatchpointHit()
1376 if (wp_val == wp_addr) { in GetHardwareWatchpointHit()
1389 addr = wp_addr + LowestBitSet(byte_mask); in GetHardwareWatchpointHit()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp1849 addr_t wp_addr = desc_extractor.GetU64(LLDB_INVALID_ADDRESS); in SetThreadStopInfo() local
1853 if (wp_addr != LLDB_INVALID_ADDRESS) { in SetThreadStopInfo()
1864 GetTarget().GetWatchpointList().FindByAddress(wp_addr); in SetThreadStopInfo()
2279 lldb::addr_t wp_addr = LLDB_INVALID_ADDRESS; in SetThreadStopInfo() local
2280 value.getAsInteger(16, wp_addr); in SetThreadStopInfo()
2283 GetTarget().GetWatchpointList().FindByAddress(wp_addr); in SetThreadStopInfo()
2291 ostr.Printf("%" PRIu64 " %" PRIu32, wp_addr, wp_index); in SetThreadStopInfo()