summaryrefslogtreecommitdiff
path: root/AT91SAM7S256/armdebug/Host/gdb-commands.txt
blob: 8e6f156276078a7cab1cfdbb96d42a4cc4feb400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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

# Query Status
$?#3F

# Query Thread
$qC#B4

# Set R1 to 0xAA
$P1=000000AA#60

# Read 16 bytes of Memory from 0x00201d74 (padding bytes after debug_mode + 4 bytes of debug_InUSBBuf)
$m00201D74,0010#FC

# Write 2 bytes of memory to 0x00201d74 (padding bytes after debug_mode)
$M00201D74,0002:AA55#03

# Write 2 bytes of memory to 0x00201d74 (padding bytes after debug_mode)
$M00201D74,0002:9966#F5