aboutsummaryrefslogtreecommitdiff
path: root/Debugger/debug_stub.S
diff options
context:
space:
mode:
Diffstat (limited to 'Debugger/debug_stub.S')
-rw-r--r--Debugger/debug_stub.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S
index 508b619..f7a098d 100644
--- a/Debugger/debug_stub.S
+++ b/Debugger/debug_stub.S
@@ -530,8 +530,7 @@ _exit_cmdIndexTable:
*/
__dbg__procCmdParamError:
- mov r0, #MSG_UNKNOWNPARAM
- _dbg_outputMsgStatusErr
+ _dbg_outputMsgStatusErrCode MSG_UNKNOWNPARAM
bl dbg__putDebugMsg /* Send error response to the GDB server */
ldmfd sp!, {pc}
@@ -619,9 +618,8 @@ _dbg__procSetRegs:
*/
_dbg__nop:
stmfd sp!, {lr}
- mov r0, #MSG_ERRIMPL /* Stub, not implemented yet */
- _dbg_outputMsgStatusErr
- bl dbg__putDebugMsg /* Send error response to the GDB server */
+ _dbg_outputMsgStatusErrCode MSG_ERRIMPL /* Stub, not implemented yet */
+ bl dbg__putDebugMsg /* Send error response to the GDB server */
ldmfd sp!, {pc}