How to delete all breakpoints?

Ofir Cohen ofircohenn@gmail.com
Tue Mar 31 10:07:00 GMT 2015


You can delete all breakpoints using "delete" with no arguments.

>From gdb's manual[1]:
"Delete the breakpoints, watchpoints, or catchpoints of the breakpoint
ranges specified as arguments. If no argument is specified, delete all
breakpoints"

- Ofir

[1] https://sourceware.org/gdb/onlinedocs/gdb/Delete-Breaks.html#Delete-Breaks

On 31 March 2015 at 12:56, Aleksey Midenkov <midenok@gmail.com> wrote:
> How to delete all breakpoints when exact numbers list is unknown?
> Giving range argument results in many error messages:
>
> (gdb) delete breakpoints 0-100
> No breakpoint number 0.
> No breakpoint number 5.
> No breakpoint number 6.
> ...
> No breakpoint number 98.
> No breakpoint number 99.
> No breakpoint number 100.



More information about the Gdb mailing list