Invalidate memory access caches when removing watchpoints to prevent crashes on subsequent accesses to the same memory areas

This commit is contained in:
AJR 2018-10-23 09:04:25 -04:00
parent f16d70d90e
commit 969175269d

View File

@ -408,6 +408,7 @@ public:
}
virtual void remove_passthrough(std::unordered_set<handler_entry *> &handlers) override {
invalidate_caches(read_or_write::READWRITE);
m_root_read->detach(handlers);
m_root_write->detach(handlers);
}