Plumbing breakpoints down into alloy Debugger interface.

This commit is contained in:
Ben Vanik
2013-12-22 17:50:14 -08:00
parent e45a7afabc
commit 7098ed3b02
8 changed files with 213 additions and 16 deletions

View File

@@ -0,0 +1,40 @@
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#include <alloy/runtime/debugger.h>
using namespace alloy;
using namespace alloy::runtime;
Breakpoint::Breakpoint(Type type, uint64_t address) :
type_(type), address_(address) {
}
Breakpoint::~Breakpoint() {
}
Debugger::Debugger(Runtime* runtime) :
runtime_(runtime) {
}
Debugger::~Debugger() {
}
int Debugger::AddBreakpoint(Breakpoint* breakpoint) {
return 1;
}
int Debugger::RemoveBreakpoint(Breakpoint* breakpoint) {
return 1;
}
int Debugger::RemoveAllBreakpoints() {
return 1;
}