Fixing stack traces, making lr BC... to diff from stack scribble BE...

This commit is contained in:
Ben Vanik
2015-05-20 23:28:34 -07:00
parent 5e5eb47789
commit ad72c193a6
5 changed files with 18 additions and 18 deletions

View File

@@ -338,7 +338,7 @@ bool Processor::Execute(ThreadState* thread_state, uint32_t address) {
// This could be set to anything to give us a unique identifier to track
// re-entrancy/etc.
uint64_t previous_lr = context->lr;
context->lr = 0xBEBEBEBE;
context->lr = 0xBCBCBCBC;
// Execute the function.
auto result = fn->Call(thread_state, uint32_t(context->lr));