S5U1C17001C ManUal
EPSOn
10-79
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
until
(execute continuously with temporary break)
[ICD Mini / SIM]
Operation
Executes the target program from the current PC address.
A temporary break can be specified at one location, causing the program to stop before executing that
breakpoint. A hardware PC break is used for this temporary break, which is cleared when the program breaks
once. When a temporary break is specified, assembly sources other than the C source are executed continuously.
If the program does not pass the breakpoint set (a miss), the program runs continuously until made to break by
one of the following causes:
•
Other set break conditions are met.
•
The [Stop] button is clicked.
•
Control is returned to a higher level from the current level (within the function).
•
There is no assembly source or source information (in which case, only the current instruction is executed).
Format
until
Breakpoint
Breakpoint
: Temporary breakpoint
Can be specified by one of the following:
•
Function name
•
Source file name:line number, or line number only
•
*Address (decimal, hexadecimal, or symbol)
Conditions: 0
≤
address
≤
0xffffff
Usage example
n
Example 1
(gdb)
until main
main () at main.c:10
The target program is run with a temporary break specified by a function name. The program breaks before
executing the first C instruction in
main()
(that is expanded to mnemonic). The PC on which the program has
stopped displays the start address of that instruction (i.e., address of first mnemonic expanded).
n
Example 2
(gdb)
until main.c:10
main () at main.c:10
The target program is run with a temporary break specified by line number. Although the breakpoint here is
specified in "source file name:line number" format when the breakpoint is to be set in the C source containing
the current PC address, it can be specified by simply using a line number like "
until 10
". For assembly
sources, a source file name is always required. When this command is executed, the program breaks before
executing the C instruction on line 10 in
main.c
. The PC on which the program has stopped displays the
start address of that instruction (i.e., address of first mnemonic expanded). If no instructions exist on line 10
with actual code (i.e., not expanded to mnemonic), the program breaks at the beginning of the first instruction
encountered with actual code thereafter.
n
Example 3
(gdb)
until *0xc0001e
main () at main.c:10
The target program is run with a temporary break specified by address. The program breaks before executing
the instruction stored at that address location. A symbol can also be used, as shown below.
(gdb)
until *main
main () at main.c:7
Note that adding an asterisk (
*
) causes even the function name to be regarded as an address.
10
Debugger
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 ...