10 DEBUggEr
ignore
(disable breakpoint with ignore counts)
Operation
Disables a specific break the number of times specified by a break hit count.
Format
ignore BreakNo Count
BreakNo:
Break number (decimal)
Count:
Number of break hits to be disabled (decimal or hexadecimal)
Usage example
(gdb) info breakpoints
Num Type
1
breakpoint
2
breakpoint
(gdb) ignore 2 2
Will ignore next 2 crossings of breakpoint 2.
Break number 2 is disabled twice.
(gdb) continue
Continuing.
Breakpoint 1, sub (k=1) at main.c:22
(gdb) continue
Continuing.
Breakpoint 1, sub (k=1) at main.c:22
(gdb) continue
Continuing.
Breakpoint 2, main () at main.c:14
Although the target program passes through the breakpoint twice as it is run twice (by continue) above, no
break occurs. A break occurs when running the program a third time because the breakpoint is reenabled.
Notes
• Break numbers are sequentially assigned to each breakpoint when set, beginning with 1. If you do not know
the break number of a breakpoint you wish to disable, use the info breakpoints command to confirm
as in the example above.
• Count is used to count the number of times a specific break is hit, and not the number of times the target
program is run. The count is not decremented unless the program passes through a specified breakpoint.
• The ignore command cannot be used to collectively disable multiple breakpoints.
• Note that specifying a break number not set displays the "No breakpoint number N." message, with program
execution being aborted.
10-106
Disp Enb Address
keep y
0x00c0003c in sub at main.c:22
keep y
0x00c00030 in main at main.c:14
EPSOn
What
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
[ICD Mini / SIM]
S5U1C17001C ManUal
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?