From 7e6a0d13f39ac23c00eb046a2e659cdc4576eca4 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Tue, 22 Feb 2011 11:26:26 +0800 Subject: added hand coded gdb server commands for testing --- Host/gdb-commands.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Host/gdb-commands.txt (limited to 'Host/gdb-commands.txt') 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 -- cgit v1.2.3