Author: Jason Molenda Date: 2023-11-30T14:59:10-08:00 New Revision: 9e77d666d88d407a7705caa623f7bfc8dc90287d
URL: https://github.com/llvm/llvm-project/commit/9e77d666d88d407a7705caa623f7bfc8dc90287d DIFF: https://github.com/llvm/llvm-project/commit/9e77d666d88d407a7705caa623f7bfc8dc90287d.diff LOG: Correctly disable hardware watchpoints after a fork event Fix a failure on Linux system where follow-fork-mode exists, which caused the large watchpoint NFC patch to be reverted earlier this week. Added: Modified: lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index fb6715140492010..b04319703b9469a 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -5546,7 +5546,7 @@ void ProcessGDBRemote::DidForkSwitchHardwareTraps(bool enable) { addr_t addr = wp_res_sp->GetLoadAddress(); size_t size = wp_res_sp->GetByteSize(); GDBStoppointType type = GetGDBStoppointType(wp_res_sp); - m_gdb_comm.SendGDBStoppointTypePacket(type, true, addr, size, + m_gdb_comm.SendGDBStoppointTypePacket(type, enable, addr, size, GetInterruptTimeout()); } } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits