[Lldb-commits] [lldb] [lldb][FreeBSD] Fix a typo in NativeProcessFreeBSD::MonitorSIGTRAP() (PR #109643)
Kelvin Lee via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 23 02:54:56 PDT 2024
https://github.com/kiyolee updated https://github.com/llvm/llvm-project/pull/109643
>From 036d7f64d052165d0535d48ef1d52c61d67a7eb2 Mon Sep 17 00:00:00 2001
From: Kelvin Lee <kiyolee at 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())
More information about the lldb-commits
mailing list