summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTC Wan2010-12-28 13:55:40 +0800
committerTC Wan2010-12-28 13:55:40 +0800
commitacdb706a74e633d847d999e9eabc973c1383ec26 (patch)
tree39e428aaeaa226ad44396e8009a574e72f34160f
parent86539efe1fe0cbbc6926f23a6e29b97d09ef9360 (diff)
updated gdb remote serial protocol commands info
-rw-r--r--Debugger/debug_stub.S20
1 files changed, 16 insertions, 4 deletions
diff --git a/Debugger/debug_stub.S b/Debugger/debug_stub.S
index 4ebe6f3..724c54e 100644
--- a/Debugger/debug_stub.S
+++ b/Debugger/debug_stub.S
@@ -87,6 +87,19 @@
*
* ? What was the last sigval ? SNN (signal NN)
*
+ * zt,AA..AA,k Remove a Breakpoint of type t at addr OK or ENN
+ * AA..AA of kind k
+ * Zt,AA..AA,k Insert a Breakpoint of type t at addr OK or ENN
+ * AA..AA of kind k
+ * t 0: memory breakpoint
+ * 1: hardware breakpoint
+ * 2: write watchpoint
+ * 3: read watchpoint
+ * 4: access watchpoint
+ * k: 2 (16-bit Thumb), 3 (32-bit Thumb2)
+ * or 4 (32-bit ARM) for t=[0,1]
+ * Num. bytes to watch for t=[3,4]
+ *
* All commands and responses are sent with a packet which includes a
* checksum. A packet consists of
*
@@ -105,10 +118,9 @@
* $m0,10#2a +$00010203040506070809101112131415#42
*
****************************************************************************/
- /* Modified GDB Server Remote Protocol definition from GDB's sparc-stub.c Comment Header included above */
-
-
-/* FIXME: What about setting/clearing Breakpoints? */
+ /* Modified GDB Server Remote Protocol definition from GDB's sparc-stub.c Comment Header included above
+ * Additional commands from GDB Reference Appendix D.2
+ */
#define __ASSEMBLY__
#include "debug_stub.h"