Skip to content

Conversation

@kiyolee
Copy link
Contributor

@kiyolee kiyolee commented Sep 23, 2024

Apparently a typo is causing compile error.

@llvmbot
Copy link
Member

llvmbot commented Sep 23, 2024

@llvm/pr-subscribers-lldb

Author: Kelvin Lee (kiyolee)

Changes

Apparently a typo is causing compile error.


Full diff: https://github.com/llvm/llvm-project/pull/109643.diff

1 Files Affected:

  • (modified) lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp (+1-1)
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())

Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caused by #108504.

Thanks for the fix.

@DavidSpickett DavidSpickett merged commit 85220a0 into llvm:main Sep 23, 2024
@kiyolee kiyolee deleted the lldb-freebsd-fix-typo branch September 23, 2024 11:15
jasonmolenda pushed a commit to jasonmolenda/llvm-project that referenced this pull request Feb 13, 2025
…lvm#109643)

Apparently a typo is causing compile error, added by llvm#108504.

(cherry picked from commit 85220a0)
jasonmolenda pushed a commit to jasonmolenda/llvm-project that referenced this pull request Mar 29, 2025
…lvm#109643)

Apparently a typo is causing compile error, added by llvm#108504.

(cherry picked from commit 85220a0)
jasonmolenda pushed a commit to jasonmolenda/llvm-project that referenced this pull request Apr 8, 2025
…lvm#109643)

Apparently a typo is causing compile error, added by llvm#108504.

(cherry picked from commit 85220a0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants