summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTC Wan2011-01-12 08:41:13 +0800
committerTC Wan2011-01-12 08:41:13 +0800
commitde0e6326cfd381d8cc8405bd1c541840a408707f (patch)
treef94839bdc877cfa8e510dafa111b53f3c850146f
parentfb20390fe4db9965f7df19db847a5838a77aeab1 (diff)
added ctrl-c definition, not supported currently
-rw-r--r--Debugger/debug_stub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Debugger/debug_stub.h b/Debugger/debug_stub.h
index 0cd342c..9cf4d0a 100644
--- a/Debugger/debug_stub.h
+++ b/Debugger/debug_stub.h
@@ -51,6 +51,7 @@
#define MSGBUF_SIZE (MSG_SEGMENTSIZE*MSG_NUMSEGMENTS) /* Debug Message Buffer Size, 61 x 3 = 183 chars = ~80 bytes of actual data */
#define MSGBUF_CHKSUMOFFSET 3 /* to be subtracted from message length */
+#define MSGBUF_CTRLC 0x03 /* For Out of Band Signaling: not implemented yet */
#define MSGBUF_STARTCHAR '$'
#define MSGBUF_ACKCHAR '+'
#define MSGBUF_NAKCHAR '-'
@@ -59,6 +60,7 @@
#define MSGBUF_CPSRREG '!'
#define MSGBUF_SETCHAR '='
#define MSGBUF_CHKSUMCHAR '#'
+#define MSGBUF_MSGERROR -1
#define MSGBUF_CMDINDEX_OUTOFRANGE_VAL -1
/*@}*/