Epson S5U1C17001C Manual page 533

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

Advertisement

next
(single-step with skip, every line)
nexti
(single-step with skip, every mnemonic)
Operation
Single-steps the target program from the current PC address. The basic operations here are the same as with
step and stepi, except that when a function or subroutine call is encountered, all lines or instructions in the
called function or subroutine are executed successively as one step until returning to a higher level.
next: Single-steps the program by executing one source line at a time. In C sources, one line of C instruction
(all multiple expanded mnemonics) are executed as one step. In assembly sources, instructions are executed the
same way as for nexti.
nexti: Single-steps the program by executing one assembler instruction (in mnemonic units) at a time.
In addition to one line or instruction, a number of steps to execute can also be specified. However, even before
all specified steps are completed, the program may be halted by one of the following causes:
• Already set break conditions are met.
• The [Stop] button is clicked.
Format
next [ Count ]
nexti [ Count ]
Count:
Number of steps to execute (decimal or hexadecimal)
One step is assumed if omitted.
Conditions: 1 ≤ Count ≤ 0x7fffffff
Usage example
n Example 1
(gdb) next
The source line displayed on the current PC is executed. When the source is a function or subroutine call, the
function or subroutine called is also executed until returning to a higher level.
n Example 2
(gdb) nexti
The instruction (in mnemonic units) is executed at the address displayed on the current PC. When the
instruction is a subroutine call, the subroutine called is also executed until returning to a higher level.
n Example 3
(gdb) next 10
sub (k=5) at main.c:20
Ten lines are executed from the source line displayed on the current PC.
n Example 4
(gdb) nexti 10
main () at main.c:13
Ten instructions (in mnemonic units) are executed from the address displayed on the current PC.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
10 DEBUggEr
[ICD Mini / SIM]
10
Debugger
10-83

Advertisement

Table of Contents
loading

Table of Contents