all repos — mgba @ fec10dac321230a5db7fd3932b586be748be7502

mGBA Game Boy Advance Emulator

Stack trace: remove debugging code
Adam Higerd chighland@gmail.com
Mon, 27 Jul 2020 21:41:52 -0500
commit

fec10dac321230a5db7fd3932b586be748be7502

parent

3d12659fca98a67ade5af3371ce1b0fafcd3cd53

1 files changed, 0 insertions(+), 7 deletions(-)

jump to
M src/arm/debugger/debugger.csrc/arm/debugger/debugger.c

@@ -39,13 +39,6 @@ irqFrame = mStackTracePush(stack, pc, pc, cpu->gprs[ARM_SP], &cpu->regs);

irqFrame->interrupt = true; interrupt = true; } - char buffer[2048]; - size_t len = sizeof(buffer) - 2; - d->trace(d, buffer, &len); - } - - if (info.memory.format & ARM_MEMORY_WRITEBACK && info.memory.baseReg == ARM_SP) { - // Stack manipulation: see if it twiddles lr } if (info.branchType == ARM_BRANCH_NONE && !interrupt) {