diff options
| author | Jason Molenda <jmolenda@apple.com> | 2024-07-19 18:42:17 -0700 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2024-07-19 18:43:53 -0700 |
| commit | 52c08d7ffd380f4abd819c20bec76252272f6337 (patch) | |
| tree | c50d58e085dccc63165362d23809065b85984257 /lldb/source/Plugins/Process/scripted/ScriptedThread.cpp | |
| parent | a3ebb669d1027700a2f12bd5e075ad3fde3d4f70 (diff) | |
Revert "[lldb] Change lldb's breakpoint handling behavior (#96260)"
This reverts commit 05f0e86cc895181b3d2210458c78938f83353002.
The debuginfo dexter tests are failing, probably because the way
stepping over breakpoints has changed with my patches. And there
are two API tests fails on the ubuntu-arm (32-bit) bot. I'll need
to investigate both of these, neither has an obvious failure reason.
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedThread.cpp')
| -rw-r--r-- | lldb/source/Plugins/Process/scripted/ScriptedThread.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lldb/source/Plugins/Process/scripted/ScriptedThread.cpp b/lldb/source/Plugins/Process/scripted/ScriptedThread.cpp index d0d1508e8517..88a4ca3b0389 100644 --- a/lldb/source/Plugins/Process/scripted/ScriptedThread.cpp +++ b/lldb/source/Plugins/Process/scripted/ScriptedThread.cpp @@ -229,17 +229,6 @@ bool ScriptedThread::CalculateStopInfo() { LLVM_PRETTY_FUNCTION, "Failed to get scripted thread stop info.", error, LLDBLog::Thread); - // If we're at a BreakpointSite, mark that we stopped there and - // need to hit the breakpoint when we resume. This will be cleared - // if we CreateStopReasonWithBreakpointSiteID. - if (RegisterContextSP reg_ctx_sp = GetRegisterContext()) { - addr_t pc = reg_ctx_sp->GetPC(); - if (BreakpointSiteSP bp_site_sp = - GetProcess()->GetBreakpointSiteList().FindByAddress(pc)) - if (bp_site_sp->IsEnabled()) - SetThreadStoppedAtUnexecutedBP(pc); - } - lldb::StopInfoSP stop_info_sp; lldb::StopReason stop_reason_type; |
