[all-commits] [llvm/llvm-project] 232525: [lldb] Clear thread-creation breakpoints in Proces...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Fri Apr 4 10:06:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 232525f06942adb3b9977632e38dcd5f08c0642d
      https://github.com/llvm/llvm-project/commit/232525f06942adb3b9977632e38dcd5f08c0642d
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/test/API/macosx/thread_start_bps/TestBreakpointsThreadInit.py

  Log Message:
  -----------
  [lldb] Clear thread-creation breakpoints in ProcessGDBRemote::Clear (#134397)

Currently, these breakpoints are being accumulated every time a new
process if created (e.g. through a `run`). Depending on the
circumstances, the old breakpoints are even left enabled, interfering
with subsequent processes. This is addressed by removing the breakpoints
in ProcessGDBRemote::Clear

Note that these breakpoints are more of a PlatformDarwin thing, so in
the future we should look into moving them there.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list