Automatically install any CPU breakpoints in any newly-defined functions if necessary.

This commit is contained in:
Dr. Chat
2015-11-27 23:00:38 -06:00
committed by Ben Vanik
parent d09e3b7953
commit 41d5b41523
6 changed files with 51 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
namespace xe {
namespace cpu {
class Breakpoint;
class Function;
class GuestFunction;
class Module;
class Processor;
@@ -53,6 +54,7 @@ class Backend {
Module* module, uint32_t address) = 0;
virtual bool InstallBreakpoint(Breakpoint* bp) { return false; }
virtual bool InstallBreakpoint(Breakpoint* bp, Function* func) { return false; }
virtual bool UninstallBreakpoint(Breakpoint* bp) { return false; }
protected: