next up previous

Supprimmer des points d'arrêt

It is often necessary to eliminate a breakpoint once it has done its job
and you no longer want the program to stop there.  This is called
"clearing" or `deleting' the breakpoint.  A breakpoint that
has been cleared no longer exists in any sense.

With the `clear' command you can clear breakpoints according to where
they are in the program.  With the `deleté command you can clear
individual breakpoints by specifying their breakpoint numbers.

It is not necessary to clear a breakpoint to proceed past it.  GDB
automatically ignores breakpoints in the first instruction to be executed
when you continue execution at the same address where the program stopped.

     Clear any breakpoints at the next instruction to be executed in the
     selected stack frame (*Note Selection::).  When the innermost frame
     is selected, this is a good way to clear a breakpoint that the program
     just stopped at.
`clear FUNCTION'     
     Clear any breakpoints set at entry to the function FUNCTION.
`clear LINENUM'     
     Clear any breakpoints set at or within the code of the specified line.
`delete BNUMS...'     
     Delete the breakpoints of the numbers specified as arguments.
     A breakpoint deleted is forgotten completely.