================
@@ -326,11 +326,15 @@ void NativeProcessFreeBSD::MonitorSIGTRAP(lldb::pid_t
pid) {
if (thread_info != m_threads_stepping_with_breakpoint.end() &&
thread_info->second == regctx.GetPC()) {
thread->SetStoppedByTrace();
- Status brkpt_error = RemoveBreakpoint(thread_info->second);
- if (brkpt_error.Fail())
- LLDB_LOG(log, "pid = {0} remove stepping breakpoint: {1}",
- thread_info->first, brkpt_error);
- m_threads_stepping_with_breakpoint.erase(thread_info);
+ while (thread_info != m_threads_stepping_with_breakpoint.end() {
----------------
DavidSpickett wrote:
In that case, NativeProcessLinux also needs to be changed.
https://github.com/llvm/llvm-project/pull/127505
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits