https://github.com/kiyolee created 
https://github.com/llvm/llvm-project/pull/109643

Apparently a typo is causing compile error.

>From f6af406b5465c190885be2364b3f8d48a2162780 Mon Sep 17 00:00:00 2001
From: Kelvin Lee <kiyo...@gmail.com>
Date: Mon, 23 Sep 2024 19:43:20 +1000
Subject: [PATCH] [lldb][FreeBSD] Fix a typo in
 NativeProcessFreeBSD::MonitorSIGTRAP()

---
 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())

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to