summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Host/gdb-commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'AT91SAM7S256/armdebug/Host/gdb-commands.txt')
-rw-r--r--AT91SAM7S256/armdebug/Host/gdb-commands.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/AT91SAM7S256/armdebug/Host/gdb-commands.txt b/AT91SAM7S256/armdebug/Host/gdb-commands.txt
new file mode 100644
index 0000000..37b84d5
--- /dev/null
+++ b/AT91SAM7S256/armdebug/Host/gdb-commands.txt
@@ -0,0 +1,19 @@
+# This file contains hand coded GDB commands for testing the GDB Server <-> NXT interface
+
+# Display all Registers
+$g#67
+
+# Display R0
+$p0#A0
+
+# Display R1
+$p1#A1
+
+# Display PC
+$pF#B6
+
+# Display User CPSR
+$p!#91
+
+# Set R1 to 0xAA
+$P1=000000AA#60