summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBWatchpoint.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2023-09-18 22:48:46 -0700
committerJason Molenda <jason@molenda.com>2023-09-18 22:50:39 -0700
commit44532a9dd4a0ed08850dbddf80b7abcc51c4a7f1 (patch)
treeb329bf0fa69ea63413066177e14435cd7c788f41 /lldb/source/API/SBWatchpoint.cpp
parentaf935cf0ee8a26dcf0860ed0c72d74b4a1cb1314 (diff)
Revert "[lldb] Add 'modify' type watchpoints, make it default (#66308)"
TestStepOverWatchpoint.py and TestUnalignedWatchpoint.py are failing on the ubuntu and debian bots https://lab.llvm.org/buildbot/#/builders/68/builds/60204 https://lab.llvm.org/buildbot/#/builders/96/builds/45623 and the newly added test TestModifyWatchpoint.py does not work on windows bot https://lab.llvm.org/buildbot/#/builders/219/builds/5708 I will debug tomorrow morning and reland. This reverts commit 3692267ca8f9c51cb55e4387283762d921fe2ae2.
Diffstat (limited to 'lldb/source/API/SBWatchpoint.cpp')
-rw-r--r--lldb/source/API/SBWatchpoint.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/API/SBWatchpoint.cpp b/lldb/source/API/SBWatchpoint.cpp
index 8b4e0ad3178b..6a63e65956bc 100644
--- a/lldb/source/API/SBWatchpoint.cpp
+++ b/lldb/source/API/SBWatchpoint.cpp
@@ -354,8 +354,7 @@ bool SBWatchpoint::IsWatchingWrites() {
std::lock_guard<std::recursive_mutex> guard(
watchpoint_sp->GetTarget().GetAPIMutex());
- return watchpoint_sp->WatchpointWrite() ||
- watchpoint_sp->WatchpointModify();
+ return watchpoint_sp->WatchpointWrite();
}
return false;