Formatting all code. Too gnarly to rebase properly.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user