aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Host/gdb-commands.txt
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-02-22 11:32:04 +0800
committerTat-Chee Wan (USM)2011-02-22 11:32:04 +0800
commit383c4628d0ca729da547a88fa5f561c652b81c35 (patch)
treeb6c33a4259cd41b9a775530d7f033a4794350db2 /AT91SAM7S256/armdebug/Host/gdb-commands.txt
parent551b283e2a3fd0978263dce9d6a81eee853d9219 (diff)
parentb227bb6176e3bfda717ec3a54a96b452c13c0a60 (diff)
Merge branch 'master' of ssh://svc.cs.usm.my/~/gitrepo-bare/armdebug
Diffstat (limited to 'AT91SAM7S256/armdebug/Host/gdb-commands.txt')
-rw-r--r--AT91SAM7S256/armdebug/Host/gdb-commands.txt16
1 files changed, 16 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..4155ec7
--- /dev/null
+++ b/AT91SAM7S256/armdebug/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