From cf0bf1c74c61c8bc4f3c74a9a92dc482be13d531 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Wed, 23 Mar 2011 09:00:52 +0800 Subject: changed response for unrecognized command to return empty gdb message --- Debugger/debug_stub.S | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S index 0a70784..4156d54 100644 --- a/Debugger/debug_stub.S +++ b/Debugger/debug_stub.S @@ -599,8 +599,13 @@ dbg__bkpt_waitCMD_cont: bl _dbg__cmdChar2Index /* Index in R0 */ mov r1, #CMDINDEX_OUTOFRANGE teq r0, r1 + bl _dbg__nop + b dbg__bkpt_waitCMD_cont + +#if 0 moveq r0, #MSG_UNKNOWNCMD /* Out of range, Command character not recognized */ beq _dbg__cmdError /* Send response to GDB server */ +#endif _dbg__cmdExists: mov r3, r0 /* put Command Handler Index in R3 */ -- cgit v1.2.3