Stack trace: remove debugging code

This commit is contained in:
Adam Higerd 2020-07-27 21:41:52 -05:00
parent 3d12659fca
commit fec10dac32
1 changed files with 0 additions and 7 deletions

View File

@ -39,13 +39,6 @@ static bool ARMDebuggerUpdateStackTraceInternal(struct mDebuggerPlatform* d, uin
irqFrame->interrupt = true; irqFrame->interrupt = true;
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) { if (info.branchType == ARM_BRANCH_NONE && !interrupt) {