register operation
The following operations can be performed in registers.
Displaying registers (info reg command)
You can display the contents of all CPU registers or the content of a specified register in the [Console] window.
Example: Displaying the values of all registers
(gdb) info reg
r0
0xd20
r1
0xaaaaaa
r2
0xaaaaaa
r3
0xaaaaaa
r4
0x690
r5
0xaaaaaa
r6
0x0
r7
0xaaaaaa
sp
0x7f8
pc
0x4090
psr
0x0
The [Registers] window also displays register values. For display in the [Registers] window and how to operate
in it, see Section 10.4.4, "[Registers] Window".
altering register values (set $ command)
You can set the contents of CPU registers to any desired values.
Example: Setting the r1 register to 0x10000
(gdb) set $r1=0x10000
The register values can also be rewritten in the [Registers] window. (See Section 10.4.4, "[Registers] Window".)
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
3360
11184810
11184810
11184810
1680
11184810
0
11184810
2040
16528
0
EPSOn
10 DEBUggEr
10
Debugger
10-47
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?