Parameter Input Format - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

10.5.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 /cygdrive/<drive name>/ format, with / instead of \ used for delimiting
the path.
Example: (gdb) file /cygdrive/c/EPSON/gnu17/sample/txt/sample.elf
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
10 DEBUggEr
10
Debugger
10-37

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