diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-06 13:17:45 -0800 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-06 13:17:45 -0800 |
commit | 896a3469802122a37bba04bfebf2ab302c84cc87 (patch) | |
tree | a2e94193df4d547ccabba9690de441803ff9880d /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | |
parent | 20dbb29a1a94c60b556f8880ab841b150e83ab25 (diff) | |
download | llvm-896a3469802122a37bba04bfebf2ab302c84cc87.zip llvm-896a3469802122a37bba04bfebf2ab302c84cc87.tar.gz llvm-896a3469802122a37bba04bfebf2ab302c84cc87.tar.bz2 |
Revert "[lldb/Plugin] Add breakpoint setting support to ScriptedProcesses."
This reverts commit cfe06f495beb520ab366957d1108bb80c7c92832.
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp b/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp index 4fd7a46..9a67027 100644 --- a/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp +++ b/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp @@ -282,20 +282,6 @@ size_t ScriptedProcess::DoWriteMemory(lldb::addr_t vm_addr, const void *buf, return bytes_written; } -Status ScriptedProcess::EnableBreakpointSite(BreakpointSite *bp_site) { - assert(bp_site != nullptr); - - if (bp_site->IsEnabled()) { - return {}; - } - - if (bp_site->HardwareRequired()) { - return Status("Scripted Processes don't support hardware breakpoints"); - } - - return EnableSoftwareBreakpoint(bp_site); -} - ArchSpec ScriptedProcess::GetArchitecture() { return GetTarget().GetArchitecture(); } |