10-68
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
n
Example 4
(gdb)
x /4w 0
0x0 <i>: 0x00001ae3 0x00000000 0x00000000 0x00000000
(gdb)
x
0x10: 0x00000000
(gdb)
x
0x14: 0x00000000
When the
x
command is executed once, you can dump and display a single unit of data (having the same size
as that of the previous address) from the address following the previous address by simply entering
x
.
n
Example 5
(gdb)
x /w &i
0x0 <i>: 0x00000010
(gdb)
x /w i
0x10: 0x00000000
When specifying an address with a data symbol that references the assigned address, add
&
when you enter the
command. When only specifying a symbol, note that its data value is used as the address. In such case,
&
need
not be added because labels in program code indicate assigned addresses.
GUI
The contents of memory can be confirmed in the [Memory] window. (See 10.4.5, "[Memory] Window".)
Notes
•
Memory contents are displayed in little endian format. However, when debugging a program in simulator
mode, you can set a specified area to big endian format in a parameter file.
•
Even when an unused area of memory is specified, no errors are assumed. However, the displayed data is not
valid.
•
Even if the specified address is not a boundary address conforming to the data size, the
x
command starts
displaying memory contents from that address.
•
If the specified address exceeds the 24-bit range, an error is assumed.
•
Executing this command does not affect the [Memory] window.
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...