Skip to content

Commit 00aeac5

Browse files
committed
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. (cherry picked from commit 9e77d66)
1 parent 55fe247 commit 00aeac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5542,7 +5542,7 @@ void ProcessGDBRemote::DidForkSwitchHardwareTraps(bool enable) {
55425542
addr_t addr = wp_res_sp->GetLoadAddress();
55435543
size_t size = wp_res_sp->GetByteSize();
55445544
GDBStoppointType type = GetGDBStoppointType(wp_res_sp);
5545-
m_gdb_comm.SendGDBStoppointTypePacket(type, true, addr, size,
5545+
m_gdb_comm.SendGDBStoppointTypePacket(type, enable, addr, size,
55465546
GetInterruptTimeout());
55475547
}
55485548
}

0 commit comments

Comments
 (0)