From b3b6c06df795c736afa26debc17aca7890d56aef Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Wed, 23 Mar 2011 07:17:13 +0800 Subject: do not push lr to stack in continue command handler --- Debugger/debug_stub.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S index ffb6062..86a1187 100644 --- a/Debugger/debug_stub.S +++ b/Debugger/debug_stub.S @@ -953,10 +953,11 @@ _dbg__cmd_WriteMem: * r0: parameter buffer pointer (contents after '$' and '') * Optional: AA..AA * On exit: - * r0, r1, r2, r3, r4: destroyed + * r0, r1, r2: destroyed + * Note: This routine does not return to caller. Instead it switches + * operating mode to UNDEF and returns to previously active program */ _dbg__cmd_Continue: - stmfd sp!, {lr} bl __dbg__cmdParamLen cmp r1, #CMD_REG_CONTINUE_PARAMLEN /* Check for correct parameter length */ beq _dbg__cmd_processContinue /* Continue from current PC */ -- cgit v1.2.3