Home
last modified time | relevance | path

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

/external/lldb/source/Plugins/Process/MacOSX-Kernel/
DProcessKDP.cpp683 ProcessKDP::EnableBreakpointSite (BreakpointSite *bp_site) in EnableBreakpointSite() argument
688 if (!bp_site->IsEnabled()) in EnableBreakpointSite()
690 if (m_comm.SendRequestBreakpoint(true, bp_site->GetLoadAddress())) in EnableBreakpointSite()
692 bp_site->SetEnabled(true); in EnableBreakpointSite()
693 bp_site->SetType (BreakpointSite::eExternal); in EnableBreakpointSite()
702 return EnableSoftwareBreakpoint (bp_site); in EnableBreakpointSite()
706 ProcessKDP::DisableBreakpointSite (BreakpointSite *bp_site) in DisableBreakpointSite() argument
711 if (bp_site->IsEnabled()) in DisableBreakpointSite()
713 BreakpointSite::Type bp_type = bp_site->GetType(); in DisableBreakpointSite()
719 bp_site->SetEnabled(false); in DisableBreakpointSite()
[all …]
DProcessKDP.h175 EnableBreakpointSite (lldb_private::BreakpointSite *bp_site);
178 DisableBreakpointSite (lldb_private::BreakpointSite *bp_site);
/external/lldb/source/Plugins/Process/POSIX/
DPOSIXThread.cpp399 lldb::BreakpointSiteSP bp_site(GetProcess()->GetBreakpointSiteList().FindByAddress(pc)); in BreakNotify() local
404 if (bp_site && bp_site->ValidForThisThread(this)) in BreakNotify()
406 lldb::break_id_t bp_id = bp_site->GetID(); in BreakNotify()
414 const ThreadSpec *spec = bp_site ? in BreakNotify()
415 bp_site->GetOwnerAtIndex(0)->GetOptionsNoCreate()->GetThreadSpecNoCreate() : 0; in BreakNotify()
DProcessPOSIX.h108 GetSoftwareBreakpointTrapOpcode(lldb_private::BreakpointSite* bp_site);
111 EnableBreakpointSite(lldb_private::BreakpointSite *bp_site);
114 DisableBreakpointSite(lldb_private::BreakpointSite *bp_site);
DProcessPOSIX.cpp627 ProcessPOSIX::GetSoftwareBreakpointTrapOpcode(BreakpointSite* bp_site) in GetSoftwareBreakpointTrapOpcode() argument
648 bp_site->SetTrapOpcode(opcode, opcode_size); in GetSoftwareBreakpointTrapOpcode()
653 ProcessPOSIX::EnableBreakpointSite(BreakpointSite *bp_site) in EnableBreakpointSite() argument
655 return EnableSoftwareBreakpoint(bp_site); in EnableBreakpointSite()
659 ProcessPOSIX::DisableBreakpointSite(BreakpointSite *bp_site) in DisableBreakpointSite() argument
661 return DisableSoftwareBreakpoint(bp_site); in DisableBreakpointSite()
/external/lldb/source/Target/
DProcess.cpp1999 m_breakpoint_site_list.ForEach([this](BreakpointSite *bp_site) -> void { in DisableAllBreakpointSites() argument
2001 DisableBreakpointSite(bp_site); in DisableAllBreakpointSites()
2110 … bp_sites_in_range.ForEach([bp_addr, size, buf, &bytes_removed](BreakpointSite *bp_site) -> void { in RemoveBreakpointOpcodesFromBuffer() argument
2111 if (bp_site->GetType() == BreakpointSite::eSoftware) in RemoveBreakpointOpcodesFromBuffer()
2116 … if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, &intersect_size, &opcode_offset)) in RemoveBreakpointOpcodesFromBuffer()
2120 assert(opcode_offset + intersect_size <= bp_site->GetByteSize()); in RemoveBreakpointOpcodesFromBuffer()
2122 … ::memcpy(buf + buf_offset, bp_site->GetSavedOpcodeBytes() + opcode_offset, intersect_size); in RemoveBreakpointOpcodesFromBuffer()
2133 Process::GetSoftwareBreakpointTrapOpcode (BreakpointSite* bp_site) in GetSoftwareBreakpointTrapOpcode() argument
2137 return platform_sp->GetSoftwareBreakpointTrapOpcode (m_target, bp_site); in GetSoftwareBreakpointTrapOpcode()
2142 Process::EnableSoftwareBreakpoint (BreakpointSite *bp_site) in EnableSoftwareBreakpoint() argument
[all …]
DThreadPlanStepRange.cpp373 BreakpointSiteSP bp_site = bp_loc->GetBreakpointSite(); in SetNextBranchBreakpoint() local
374 if (bp_site) in SetNextBranchBreakpoint()
376 bp_site_id = bp_site->GetID(); in SetNextBranchBreakpoint()
/external/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp2202 ProcessGDBRemote::EnableBreakpointSite (BreakpointSite *bp_site) in EnableBreakpointSite() argument
2205 assert (bp_site != NULL); in EnableBreakpointSite()
2208 user_id_t site_id = bp_site->GetID(); in EnableBreakpointSite()
2209 const addr_t addr = bp_site->GetLoadAddress(); in EnableBreakpointSite()
2213 if (bp_site->IsEnabled()) in EnableBreakpointSite()
2221 const size_t bp_op_size = GetSoftwareBreakpointTrapOpcode (bp_site); in EnableBreakpointSite()
2223 if (bp_site->HardwarePreferred()) in EnableBreakpointSite()
2231 bp_site->SetEnabled(true); in EnableBreakpointSite()
2232 bp_site->SetType (BreakpointSite::eHardware); in EnableBreakpointSite()
2242 bp_site->SetEnabled(true); in EnableBreakpointSite()
[all …]
DProcessGDBRemote.h194 EnableBreakpointSite (lldb_private::BreakpointSite *bp_site);
197 DisableBreakpointSite (lldb_private::BreakpointSite *bp_site);
/external/lldb/source/Plugins/Platform/Linux/
DPlatformLinux.h87 BreakpointSite *bp_site);
DPlatformLinux.cpp374 BreakpointSite *bp_site) in GetSoftwareBreakpointTrapOpcode() argument
396 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
/external/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.h103 lldb_private::BreakpointSite *bp_site);
DPlatformRemoteGDBServer.cpp150 PlatformRemoteGDBServer::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite *bp_site) in GetSoftwareBreakpointTrapOpcode() argument
/external/lldb/source/Plugins/Platform/FreeBSD/
DPlatformFreeBSD.h82 lldb_private::BreakpointSite *bp_site);
DPlatformFreeBSD.cpp284 PlatformFreeBSD::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite *bp_site) in GetSoftwareBreakpointTrapOpcode() argument
306 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
/external/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwin.h54 lldb_private::BreakpointSite *bp_site);
DPlatformDarwin.cpp373 PlatformDarwin::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite *bp_site) in GetSoftwareBreakpointTrapOpcode() argument
401 lldb::BreakpointLocationSP bp_loc_sp (bp_site->GetOwnerAtIndex (0)); in GetSoftwareBreakpointTrapOpcode()
432 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
/external/lldb/include/lldb/Target/
DProcess.h3202 GetSoftwareBreakpointTrapOpcode (BreakpointSite* bp_site);
3205 EnableBreakpointSite (BreakpointSite *bp_site) in EnableBreakpointSite() argument
3214 DisableBreakpointSite (BreakpointSite *bp_site) in DisableBreakpointSite() argument
3227 EnableSoftwareBreakpoint (BreakpointSite *bp_site);
3234 DisableSoftwareBreakpoint (BreakpointSite *bp_site);
DPlatform.h354 BreakpointSite *bp_site) = 0;