finish
(finish function)
Operation
Executes the target program from the current PC address and causes it stop upon returning from the current
function to a higher level. The instruction at the return position is not executed.
Even before a return, however, the program may be halted by one of the following causes:
• Already set break conditions are met.
• The [Stop] button is clicked.
Format
finish
Usage example
(gdb) finish
The target program is executed from the current PC address and halted after a return.
GUI
The finish command can also be executed using one of the methods below.
• Click the [Finish] button in the [Source] window.
[Finish] button
• Choose [Finish] from the [Control] menu in the [Source] window.
• Enter [f] ([F]) while the [Source] window is open.
While the finish command is executing the target program, the contents displayed in the [Source] and
[Registers] windows are updated in real time each time one step is executed. The [Memory] window is not
updated.
Notes
When the finish command is executed at the highest level (e.g., boot routine), the program does not stop. If
no breaks are set, use the [Stop] button to halt the program.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
10 DEBUggEr
[ICD Mini / SIM]
10
Debugger
10-85
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?
Questions and answers