From 85220a0c651e565ab576c5be17c1ec5c9eb2a350 Mon Sep 17 00:00:00 2001 From: Kelvin Lee Date: Mon, 23 Sep 2024 20:44:58 +1000 Subject: [PATCH] [lldb][FreeBSD] Fix a typo in NativeProcessFreeBSD::MonitorSIGTRAP() (#109643) Apparently a typo is causing compile error, added by https://github.com/llvm/llvm-project/pull/108504. --- lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp index 80b27571f43d55..bf552e19742c4a 100644 --- a/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp @@ -324,7 +324,7 @@ void NativeProcessFreeBSD::MonitorSIGTRAP(lldb::pid_t pid) { auto thread_info = m_threads_stepping_with_breakpoint.find(thread->GetID()); if (thread_info != m_threads_stepping_with_breakpoint.end() && - threads_info->second == regctx.GetPC()) { + thread_info->second == regctx.GetPC()) { thread->SetStoppedByTrace(); Status brkpt_error = RemoveBreakpoint(thread_info->second); if (brkpt_error.Fail())