[debugserver] Share code between Enable/DisableHardwareWatchpoint (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 18 Jan 2020 19:36:28 +0000 (11:36 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 18 Jan 2020 19:36:56 +0000 (11:36 -0800)
commit2981eceec337c26befe5f5d1b1031b254240e21d
tree35933fd0351e7b922c795bcf2841ddaa29cdc48b
parent80146fc13adaf3a523c03a1ff8693ed157a29138
[debugserver] Share code between Enable/DisableHardwareWatchpoint (NFC)

This extract the common functionality of enabling and disabling hardware
watchpoints into a single function.

Differential revision: https://reviews.llvm.org/D72971
lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
lldb/tools/debugserver/source/MacOSX/MachThreadList.h