Re: How to delete all breakpoints?

Ofir Cohen <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAHOBVAcMdkZS=qWU6LJM0MCZmxwXC+uEqmj2vT21Naz_QYvsug@mail.gmail.com>
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 <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.