Parameter Input Format - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcontroller (c compiler package for s1c17 family) (ver. 3.1)
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

8 Debugger
8.4.2

Parameter Input Format

 Numeric input
Parameters used to specify an address or data in a command must be entered in decimal (by default). To enter a parameter in
hexadecimal, add 0x (or 0X) to the beginning of the value. Only characters 0 to 9, 'a' to 'f' and 'A' to 'F' are recognized as
hexadecimal.
To specify an immediate address in a command that causes the program to break, add * to the beginning of the value, as shown
below.
Example: (gdb) break *0xc00040
You need not add this asterisk for address parameters not preceded by * in the explanation of each command format.
 Specifying a source line number
For commands that cause the program to break, you can specify a breakpoint by source line number. However, this is limited to
only when debugging an elf format object file that includes information on source line numbers.
To specify a line number, use the format shown below.
Filename:LineNo.
Filename
Source file name
Filename: can be omitted when specifying a line number existing in the current file (one that includes code for the
current PC).
LineNo.
Line number
Line numbers can only be specified in decimal.
Example:
main.c:100
 Address specification by a symbol
You can use a symbol to specify an address. However, this is limited to only when debugging an elf format object file that
includes symbol information.
 Entering a file name
For file names in other than the current directory, always be sure to specify a path.
Only characters 'a' to 'z,' 'A' to 'Z,' 0 to 9, /, and _ can be used.
Drive names must be specified in /<drive name>/format, with / instead of \ used for delimiting the path.
Example: (gdb) file /c/EPSON/gnu17v3/sample/txt/sample.elf
8-8
Seiko Epson Corporation
S5U1C17001C Manual
(Rev. 1.0)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Table of Contents