10-112
EPSOn
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
commands
(setting a command to execute after break)
[ICD Mini/Sim]
Function
This command sets or cancels a command (multiple lines) to execute when execution halts at a specified
breakpoint.
Format
commands
[
break number
]
After the command is entered, the prompt will change to a “>.” Enter the command line to be set for a break.
The command line entered may consist of multiple lines. Enter “end” to end input.
Use the info breakpoint command to view the set command line.
Omitting the break number results in specification of the number of the most recently set breakpoint.
Command line cancellation:
When the prompt changes to “>,” enter “end” on the first line.
Usage example
(gdb)break boot.s:16
(gdb)commands 1
>x /4b 0x100
>break main
>continue
>x /4b sub
>end
(gdb)continue
Continuing.
Breakpoint 1, boot () at boot.s:16
0x100: 0xaa 0xaa 0xaa 0xaa
Breakpoint 2 at 0x632: file main.c, line 18.
Breakpoint 2, main () at main.c:18
Current language: auto; currentry c
0x658 <sub>: 0x00 0x40 0x25 0x18
(gdb)
Notes
•
An error will be generated if a nonexistent numeric value is specified as a break number.
•
If the break number is omitted, the number of the most recently set breakpoint will be specified.
•
Proper operation is guaranteed for command lines of up to 50 lines. Even if a command line exceeds 50 lines,
no error will be generated. Lines exceeding 50 lines are used as is.
•
The program will halt immediately if an error occurs while a command is executing.
•
The command line is not executed when a break occurs using a temporary breakpoint (tbreak, thbreak).
•
The commands command cannot be nested. If a commands command occurs in the command line, the
command line specified by the commands command cannot be entered during a break.
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 ...