Home
last modified time | relevance | path

Searched refs:bp_site (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.cpp265 Status ScriptedProcess::EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite()
266 assert(bp_site != nullptr); in EnableBreakpointSite()
268 if (bp_site->IsEnabled()) { in GetArchitecture()
272 if (bp_site->HardwareRequired()) { in DoGetMemoryRegionInfo()
277 GetInterface().CreateBreakpoint(bp_site->GetLoadAddress(), error); in DoGetMemoryRegionInfo()
251 EnableBreakpointSite(BreakpointSite * bp_site) EnableBreakpointSite() argument
H A DScriptedProcess.h78 Status EnableBreakpointSite(BreakpointSite *bp_site) override;
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp1617 m_breakpoint_site_list.ForEach([this](BreakpointSite *bp_site) -> void { in DisableAllBreakpointSites() argument
1619 DisableBreakpointSite(bp_site); in DisableAllBreakpointSites()
1771 buf](BreakpointSite *bp_site) -> void { in RemoveBreakpointOpcodesFromBuffer() argument
1772 if (bp_site->GetType() == BreakpointSite::eSoftware) { in RemoveBreakpointOpcodesFromBuffer()
1776 if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, in RemoveBreakpointOpcodesFromBuffer()
1781 assert(opcode_offset + intersect_size <= bp_site->GetByteSize()); in RemoveBreakpointOpcodesFromBuffer()
1784 bp_site->GetSavedOpcodeBytes() + opcode_offset, in RemoveBreakpointOpcodesFromBuffer()
1793 size_t Process::GetSoftwareBreakpointTrapOpcode(BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument
1796 return platform_sp->GetSoftwareBreakpointTrapOpcode(GetTarget(), bp_site); in GetSoftwareBreakpointTrapOpcode()
1800 Status Process::EnableSoftwareBreakpoint(BreakpointSite *bp_site) { in EnableSoftwareBreakpoint() argument
[all …]
H A DThreadPlanStepRange.cpp366 BreakpointSiteSP bp_site = bp_loc->GetBreakpointSite(); in SetNextBranchBreakpoint() local
367 if (bp_site) { in SetNextBranchBreakpoint()
368 bp_site_id = bp_site->GetID(); in SetNextBranchBreakpoint()
H A DPlatform.cpp1942 BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument
1969 lldb::BreakpointLocationSP bp_loc_sp(bp_site->GetConstituentAtIndex(0)); in GetSoftwareBreakpointTrapOpcode()
2071 assert(bp_site); in GetSoftwareBreakpointTrapOpcode()
2072 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp2964 Status ProcessGDBRemote::EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite() argument
2966 assert(bp_site != nullptr); in EnableBreakpointSite()
2970 user_id_t site_id = bp_site->GetID(); in EnableBreakpointSite()
2973 const addr_t addr = bp_site->GetLoadAddress(); in EnableBreakpointSite()
2982 if (bp_site->IsEnabled()) { in EnableBreakpointSite()
2991 const size_t bp_op_size = GetSoftwareBreakpointTrapOpcode(bp_site); in EnableBreakpointSite()
3003 (!bp_site->HardwareRequired())) { in EnableBreakpointSite()
3009 bp_site->SetEnabled(true); in EnableBreakpointSite()
3010 bp_site->SetType(BreakpointSite::eExternal); in EnableBreakpointSite()
3049 bp_site->SetEnabled(true); in EnableBreakpointSite()
[all …]
H A DProcessGDBRemote.h156 Status EnableBreakpointSite(BreakpointSite *bp_site) override;
158 Status DisableBreakpointSite(BreakpointSite *bp_site) override;
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcess.h2144 size_t GetSoftwareBreakpointTrapOpcode(BreakpointSite *bp_site);
2146 virtual Status EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite() argument
2153 virtual Status DisableBreakpointSite(BreakpointSite *bp_site) { in DisableBreakpointSite() argument
2164 virtual Status EnableSoftwareBreakpoint(BreakpointSite *bp_site);
2170 virtual Status DisableSoftwareBreakpoint(BreakpointSite *bp_site);
H A DPlatform.h331 BreakpointSite *bp_site);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h75 BreakpointSite *bp_site) override;
H A DPlatformRemoteGDBServer.cpp149 Target &target, BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument