This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to delete all breakpoints?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]