summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-02-22 11:26:26 +0800
committerTat-Chee Wan (USM)2011-02-22 11:26:26 +0800
commit7e6a0d13f39ac23c00eb046a2e659cdc4576eca4 (patch)
tree493e662e55451c87d428d0a15e0f5128a877dabd
parent8384418b0a40263486bca3ab8bc782adfff40cec (diff)
added hand coded gdb server commands for testing
-rw-r--r--Host/gdb-commands.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Host/gdb-commands.txt b/Host/gdb-commands.txt
new file mode 100644
index 0000000..4155ec7
--- /dev/null
+++ b/Host/gdb-commands.txt
@@ -0,0 +1,16 @@
+# This file contains hand coded GDB commands for testing the GDB Server <-> NXT interface
+
+# Display all Registers
+$g#67
+
+# Display R0
+$p0#A0
+
+# Display PC
+$pF#B6
+
+# Display User CPSR
+$p!#91
+
+# Set R0 to 0xAA
+$P1=000000AA#80