summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-06-18 16:36:17 +0800
committerTat-Chee Wan (USM)2011-06-18 16:36:17 +0800
commit44e908e0ecec156b921649f26c57f31b37aa0a6f (patch)
treec8fcbcaaf161cea87967efd544d75c0a424750c2
parent5d8b151c7cccc2c5613195ea7b47b93085af2773 (diff)
fix silly syntax error for pop instruction
-rw-r--r--Debugger/debug_stub.S2
1 files changed, 1 insertions, 1 deletions
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