From 44e908e0ecec156b921649f26c57f31b37aa0a6f Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Sat, 18 Jun 2011 16:36:17 +0800 Subject: fix silly syntax error for pop instruction --- Debugger/debug_stub.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S index eb39c0d..c938f13 100644 --- a/Debugger/debug_stub.S +++ b/Debugger/debug_stub.S @@ -1168,7 +1168,7 @@ _dbg__cmd_Detach: teq r1, #CMD_DETACH_PARAMLEN /* Check for correct length */ bne __dbg__procCmdParamError /* Unexpected input, report error */ - pop sp!, {lr} /* Cleanup stack, since we won't return to the Debugger Run Loop */ + ldmfd sp!, {lr} /* Cleanup stack, since we won't return to the Debugger Run Loop */ b _dbg__cont_check_breakpoint_type /* Continue from current PC */ /* _dbg__cmd_Continue -- cgit v1.2.3