S5U1C17001C ManUal
EPSOn
10-67
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
x
(memory dump)
[ICD Mini / SIM]
Operation
Dumps memory contents (in hexadecimal) to a window. The data size, display start address, and display data
counts can be specified.
Format
x
[
/
[
Length
]
Size
] [
Address
]
Length
:
Number of data items to display (in decimal)
1 when omitted.
Size
:
One of the following symbols that specify data size (in which units of data are displayed)
b
In units of bytes
h
In units of 16 bits
w
In units of 32 bits (default)
Address
:
Address from which to start displaying data (decimal, hexadecimal, or symbol)
When omitted, the last address displayed when previously executing the
x
command is assumed.
The default address assumed at
gdb
startup is 0x0.
Conditions: 0
≤
Length
≤
0xffffffff, 0
≤
Address
≤
0xffffff
Display
Memory contents are displayed as described below.
Address
[<
Symbol
>]:
Data
[
Data
...]
Address
: The start address of each line of data is displayed in hexadecimal.
Symbol
: When the address displayed at the beginning of a line has a symbol or label defined for it, the name of
that symbol or label is displayed. When an intermediate address of a function or variable is specified,
the specified symbol and a decimal offset (<
Symbol
+
n
>) are also displayed.
Data
:
Up to 16 bytes of data starting from
Address
are displayed on one line.
Usage example
n
Example 1
(gdb)
x
0x0: 0x00000000
When all parameters are omitted after startup, the command is executed as "
x /1w 0x0
".
n
Example 2
(gdb)
x /b 0
0x0 <i>: 0xe3
(gdb)
x /b 1
0x1 <i+1>: 0xa1
When
Size
is specified but
Length
omitted, one unit of data equal to the specified data size is displayed. The
letter
i
is a symbol defined at address 0x0. If any address other than the address at the beginning of a variable,
etc. is specified, <
symbol
+
offset
> is displayed as the symbol.
n
Example 3
(gdb)
x /16h _START_text
0xc00000 <_START_text>: 0x0004 0x00c0 0xc020 0x6c0f 0xa0f1 0xc000 0xc000 0x6c0f
0xc00010 <boot+12>: 0xc000 0xc000 0x1c04 0xdff8 0xdfff 0x1ef5 0x0200 0x6c04
When
Length
is specified, the specified amount of data is displayed. When a code area is displayed,
<
label
+
offset
> is displayed as the symbol, even for addresses with no symbols defined as in ASSEMBLY
display of the [Source] window.
10
Debugger
Содержание S5U1C17001C
Страница 6: ......
Страница 17: ...1 General S5U1C17001C Manual 1 General ...
Страница 18: ......
Страница 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Страница 22: ......
Страница 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Страница 30: ......
Страница 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Страница 104: ......
Страница 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Страница 122: ......
Страница 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Страница 366: ......
Страница 385: ...7 Library S5U1C17001C Manual 7 library ...
Страница 386: ......
Страница 404: ...7 18 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 7 liBrary THIS PAGE IS BLANK ...
Страница 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Страница 406: ......
Страница 438: ...8 32 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 8 aSSEMBlEr THIS PAGE IS BLANK ...
Страница 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Страница 440: ......
Страница 448: ...9 8 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 9 linkEr THIS PAGE IS BLANK ...
Страница 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Страница 450: ......
Страница 625: ...10 174 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 10 DEBUggEr THIS PAGE IS BLANK ...
Страница 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Страница 627: ......
Страница 695: ...11 68 EPSON S5U1C17001C Manual C Compiler Package for S1C17 Family Ver 1 5 0 11 OTHEr TOOlS THIS PAGE IS BLANK ...
Страница 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...