S5U1C17001C ManUal
EPSOn
10-37
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
10
Debugger
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
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 ...