summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-06-18 16:44:12 +0800
committerTat-Chee Wan (USM)2011-06-18 16:44:12 +0800
commitd73200726545f93e292514f9186883be93bcbac4 (patch)
treea96aa88173b56aa7dbb0b16bd6e9194add4f75a1
parent44e908e0ecec156b921649f26c57f31b37aa0a6f (diff)
rearrange parsing order of detach command
-rw-r--r--Debugger/debug_stub.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S
index c938f13..f472a78 100644
--- a/Debugger/debug_stub.S
+++ b/Debugger/debug_stub.S
@@ -229,7 +229,7 @@ debug_OkResponse:
/* The CmdIndexTable and CmdJumpTable must be kept in sync */
debug_cmdIndexTable:
- .byte 'g','G','p','P','m','M','c','s','k','z','Z','?','q','Q','D',0
+ .byte 'g','G','p','P','m','M','D','c','s','k','z','Z','?','q','Q',0
/* Command Handlers
* On entry:
@@ -243,6 +243,7 @@ debug_cmdJumpTable:
.word _dbg__cmd_SetOneReg /* 'P' */
.word _dbg__cmd_ReadMem /* 'm' */
.word _dbg__cmd_WriteMem /* 'M' */
+ .word _dbg__cmd_Detach /* 'D' */
.word _dbg__cmd_Continue /* 'c' */
#ifdef __NXOS__
.word _dbg__cmd_Step /* 's' */
@@ -256,7 +257,6 @@ debug_cmdJumpTable:
.word _dbg__cmd_Status /* '?' */
.word _dbg__cmd_Query /* 'q' */
.word _dbg__nop /* 'Q' */
- .word _dbg__cmd_Detach /* 'D' */
.word 0
/* Rm Shifted Shift Type Jump Table