Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
DProcessKDP.cpp647 Status ProcessKDP::EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite() argument
648 if (bp_site->HardwareRequired()) in EnableBreakpointSite()
653 if (!bp_site->IsEnabled()) { in EnableBreakpointSite()
654 if (m_comm.SendRequestBreakpoint(true, bp_site->GetLoadAddress())) { in EnableBreakpointSite()
655 bp_site->SetEnabled(true); in EnableBreakpointSite()
656 bp_site->SetType(BreakpointSite::eExternal); in EnableBreakpointSite()
663 return EnableSoftwareBreakpoint(bp_site); in EnableBreakpointSite()
666 Status ProcessKDP::DisableBreakpointSite(BreakpointSite *bp_site) { in DisableBreakpointSite() argument
669 if (bp_site->IsEnabled()) { in DisableBreakpointSite()
670 BreakpointSite::Type bp_type = bp_site->GetType(); in DisableBreakpointSite()
[all …]
DProcessKDP.h124 EnableBreakpointSite(lldb_private::BreakpointSite *bp_site) override;
127 DisableBreakpointSite(lldb_private::BreakpointSite *bp_site) override;
/external/llvm-project/lldb/source/Plugins/Platform/FreeBSD/
DPlatformFreeBSD.cpp219 BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument
222 lldb::BreakpointLocationSP bp_loc_sp(bp_site->GetOwnerAtIndex(0)); in GetSoftwareBreakpointTrapOpcode()
240 assert(bp_site); in GetSoftwareBreakpointTrapOpcode()
241 if (bp_site->SetTrapOpcode(g_arm_breakpoint_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
246 return Platform::GetSoftwareBreakpointTrapOpcode(target, bp_site); in GetSoftwareBreakpointTrapOpcode()
DPlatformFreeBSD.h48 BreakpointSite *bp_site) override;
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DFreeBSDThread.cpp447 lldb::BreakpointSiteSP bp_site( in BreakNotify() local
456 if (bp_site) { in BreakNotify()
457 lldb::break_id_t bp_id = bp_site->GetID(); in BreakNotify()
462 if (bp_site->ValidForThisThread(this) || in BreakNotify()
515 lldb::BreakpointSiteSP bp_site( in TraceNotify() local
524 if (bp_site && (bp_site->ValidForThisThread(this) || in TraceNotify()
527 *this, bp_site->GetID())); in TraceNotify()
DProcessFreeBSD.h100 GetSoftwareBreakpointTrapOpcode(lldb_private::BreakpointSite *bp_site);
103 EnableBreakpointSite(lldb_private::BreakpointSite *bp_site) override;
106 DisableBreakpointSite(lldb_private::BreakpointSite *bp_site) override;
DProcessFreeBSD.cpp634 ProcessFreeBSD::GetSoftwareBreakpointTrapOpcode(BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument
653 lldb::BreakpointLocationSP bp_loc_sp(bp_site->GetOwnerAtIndex(0)); in GetSoftwareBreakpointTrapOpcode()
681 bp_site->SetTrapOpcode(opcode, opcode_size); in GetSoftwareBreakpointTrapOpcode()
685 Status ProcessFreeBSD::EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite() argument
686 if (bp_site->HardwareRequired()) in EnableBreakpointSite()
689 return EnableSoftwareBreakpoint(bp_site); in EnableBreakpointSite()
692 Status ProcessFreeBSD::DisableBreakpointSite(BreakpointSite *bp_site) { in DisableBreakpointSite() argument
693 return DisableSoftwareBreakpoint(bp_site); in DisableBreakpointSite()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DProcessWindows.cpp153 Status ProcessWindows::EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite() argument
154 if (bp_site->HardwareRequired()) in EnableBreakpointSite()
158 LLDB_LOG(log, "bp_site = {0:x}, id={1}, addr={2:x}", bp_site, in EnableBreakpointSite()
159 bp_site->GetID(), bp_site->GetLoadAddress()); in EnableBreakpointSite()
161 Status error = EnableSoftwareBreakpoint(bp_site); in EnableBreakpointSite()
167 Status ProcessWindows::DisableBreakpointSite(BreakpointSite *bp_site) { in DisableBreakpointSite() argument
169 LLDB_LOG(log, "bp_site = {0:x}, id={1}, addr={2:x}", bp_site, in DisableBreakpointSite()
170 bp_site->GetID(), bp_site->GetLoadAddress()); in DisableBreakpointSite()
172 Status error = DisableSoftwareBreakpoint(bp_site); in DisableBreakpointSite()
DProcessWindows.h52 Status EnableBreakpointSite(BreakpointSite *bp_site) override;
53 Status DisableBreakpointSite(BreakpointSite *bp_site) override;
/external/llvm-project/lldb/source/Target/
DProcess.cpp1679 m_breakpoint_site_list.ForEach([this](BreakpointSite *bp_site) -> void { in DisableAllBreakpointSites() argument
1681 DisableBreakpointSite(bp_site); in DisableAllBreakpointSites()
1831 buf](BreakpointSite *bp_site) -> void { in RemoveBreakpointOpcodesFromBuffer() argument
1832 if (bp_site->GetType() == BreakpointSite::eSoftware) { in RemoveBreakpointOpcodesFromBuffer()
1836 if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, in RemoveBreakpointOpcodesFromBuffer()
1841 assert(opcode_offset + intersect_size <= bp_site->GetByteSize()); in RemoveBreakpointOpcodesFromBuffer()
1844 bp_site->GetSavedOpcodeBytes() + opcode_offset, in RemoveBreakpointOpcodesFromBuffer()
1853 size_t Process::GetSoftwareBreakpointTrapOpcode(BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument
1856 return platform_sp->GetSoftwareBreakpointTrapOpcode(GetTarget(), bp_site); in GetSoftwareBreakpointTrapOpcode()
1860 Status Process::EnableSoftwareBreakpoint(BreakpointSite *bp_site) { in EnableSoftwareBreakpoint() argument
[all …]
DThreadPlanStepRange.cpp365 BreakpointSiteSP bp_site = bp_loc->GetBreakpointSite(); in SetNextBranchBreakpoint() local
366 if (bp_site) { in SetNextBranchBreakpoint()
367 bp_site_id = bp_site->GetID(); in SetNextBranchBreakpoint()
DPlatform.cpp1877 BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument
1904 lldb::BreakpointLocationSP bp_loc_sp(bp_site->GetOwnerAtIndex(0)); in GetSoftwareBreakpointTrapOpcode()
1979 assert(bp_site); in GetSoftwareBreakpointTrapOpcode()
1980 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp3061 Status ProcessGDBRemote::EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite() argument
3063 assert(bp_site != nullptr); in EnableBreakpointSite()
3067 user_id_t site_id = bp_site->GetID(); in EnableBreakpointSite()
3070 const addr_t addr = bp_site->GetLoadAddress(); in EnableBreakpointSite()
3079 if (bp_site->IsEnabled()) { in EnableBreakpointSite()
3088 const size_t bp_op_size = GetSoftwareBreakpointTrapOpcode(bp_site); in EnableBreakpointSite()
3100 (!bp_site->HardwareRequired())) { in EnableBreakpointSite()
3106 bp_site->SetEnabled(true); in EnableBreakpointSite()
3107 bp_site->SetType(BreakpointSite::eExternal); in EnableBreakpointSite()
3146 bp_site->SetEnabled(true); in EnableBreakpointSite()
[all …]
DProcessGDBRemote.h155 Status EnableBreakpointSite(BreakpointSite *bp_site) override;
157 Status DisableBreakpointSite(BreakpointSite *bp_site) override;
/external/llvm-project/lldb/include/lldb/Target/
DProcess.h2016 size_t GetSoftwareBreakpointTrapOpcode(BreakpointSite *bp_site);
2018 virtual Status EnableBreakpointSite(BreakpointSite *bp_site) { in EnableBreakpointSite() argument
2026 virtual Status DisableBreakpointSite(BreakpointSite *bp_site) { in DisableBreakpointSite() argument
2038 virtual Status EnableSoftwareBreakpoint(BreakpointSite *bp_site);
2044 virtual Status DisableSoftwareBreakpoint(BreakpointSite *bp_site);
DPlatform.h333 BreakpointSite *bp_site);
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwin.h55 lldb_private::BreakpointSite *bp_site) override;
DPlatformDarwin.cpp448 BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument
472 lldb::BreakpointLocationSP bp_loc_sp(bp_site->GetOwnerAtIndex(0)); in GetSoftwareBreakpointTrapOpcode()
494 return Platform::GetSoftwareBreakpointTrapOpcode(target, bp_site); in GetSoftwareBreakpointTrapOpcode()
498 if (bp_site->SetTrapOpcode(trap_opcode, trap_opcode_size)) in GetSoftwareBreakpointTrapOpcode()
/external/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.h81 BreakpointSite *bp_site) override;
DPlatformRemoteGDBServer.cpp229 Target &target, BreakpointSite *bp_site) { in GetSoftwareBreakpointTrapOpcode() argument