Processor breakpoint support

This commit is contained in:
Dr. Chat
2015-11-25 21:35:05 -06:00
committed by Ben Vanik
parent 5019f1aa98
commit e383e2f101
7 changed files with 269 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
namespace xe {
namespace cpu {
class Breakpoint;
class GuestFunction;
class Module;
class Processor;
@@ -51,6 +52,9 @@ class Backend {
virtual std::unique_ptr<GuestFunction> CreateGuestFunction(
Module* module, uint32_t address) = 0;
virtual bool InstallBreakpoint(Breakpoint* bp) { return false; }
virtual bool UninstallBreakpoint(Breakpoint* bp) { return false; }
protected:
Processor* processor_;
MachineInfo machine_info_;