summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Debugger/debug_stub.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h
index 1c47050..d70152b 100644
--- a/Debugger/debug_stub.h
+++ b/Debugger/debug_stub.h
@@ -81,8 +81,9 @@
#define CMD_REG_NUMREGS 17
#define CMD_REG_GETONE_PARAMLEN 1
#define CMD_REG_GETALL_PARAMLEN 0
-#define CMD_REG_SETONE_PARAMLEN 6
-#define CMD_REG_SETALL_PARAMLEN (CMD_REG_NUMREGS*4)
+#define CMD_REG_REGPARAMLEN 8 /* 32-bit ASCII Hex Value */
+#define CMD_REG_SETONE_PARAMLEN (2 + CMD_REG_REGPARAMLEN)
+#define CMD_REG_SETALL_PARAMLEN (CMD_REG_NUMREGS*CMD_REG_REGPARAMLEN)
/*@}*/