summaryrefslogtreecommitdiff
path: root/Source/Core/Common/DebugInterface.h
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2017-03-20 12:41:02 -0700
committerGitHub <noreply@github.com>2017-03-20 12:41:02 -0700
commit50faffc9c22dd19701cd023434fb357d6851876e (patch)
tree545009a0cda28b951c2e039eb79b6313955a4886 /Source/Core/Common/DebugInterface.h
parent5cc55f0fe3ea261798ca0a48da9dc4d3ccd1059d (diff)
parent8bf27cf42fd83918c6a730ffddbc12a0204213dc (diff)
Merge pull request #5009 from aldelaro5/memcheck-fix
Fix memory breakpoint when checking the middle of the data
Diffstat (limited to 'Source/Core/Common/DebugInterface.h')
-rw-r--r--Source/Core/Common/DebugInterface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Common/DebugInterface.h b/Source/Core/Common/DebugInterface.h
index df9944ef23..521c16a8c7 100644
--- a/Source/Core/Common/DebugInterface.h
+++ b/Source/Core/Common/DebugInterface.h
@@ -4,6 +4,7 @@
#pragma once
+#include <cstddef>
#include <cstring>
#include <string>
@@ -26,7 +27,7 @@ public:
virtual void ToggleBreakpoint(unsigned int /*address*/) {}
virtual void AddWatch(unsigned int /*address*/) {}
virtual void ClearAllMemChecks() {}
- virtual bool IsMemCheck(unsigned int /*address*/) { return false; }
+ virtual bool IsMemCheck(unsigned int /*address*/, size_t /*size*/) { return false; }
virtual void ToggleMemCheck(unsigned int /*address*/, bool /*read*/, bool /*write*/, bool /*log*/)
{
}