summaryrefslogtreecommitdiff
path: root/Host/gdb-commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Host/gdb-commands.txt')
-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