Formatting all code. Too gnarly to rebase properly.

This commit is contained in:
Ben Vanik
2015-12-29 13:13:34 -08:00
parent 4e7dfa477b
commit 948aa2400d
16 changed files with 27 additions and 30 deletions

View File

@@ -54,7 +54,9 @@ 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 InstallBreakpoint(Breakpoint* bp, Function* func) {
return false;
}
virtual bool UninstallBreakpoint(Breakpoint* bp) { return false; }
protected:

View File

@@ -461,7 +461,7 @@ bool Processor::BreakpointHit(uint32_t address, uint64_t host_pc) {
auto bp = FindBreakpoint(address);
if (bp) {
bp->Hit(host_pc);
xe::threading::Thread::GetCurrentThread()->Suspend();
return true;
}

View File

@@ -475,7 +475,8 @@ bool XexModule::SetupLibraryImports(const char* name,
XELOGW("WARNING: Imported kernel function %s is unimplemented!",
import_name.GetString());
}
static_cast<GuestFunction*>(function)->SetupExtern(handler, kernel_export);
static_cast<GuestFunction*>(function)->SetupExtern(handler,
kernel_export);
}
function->set_status(Symbol::Status::kDeclared);
} else {