This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] "enable count" user input error handling (PR gdb/15678)
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Wed, 26 Jun 2013 17:31:19 -0400
- Subject: Re: [PATCH] "enable count" user input error handling (PR gdb/15678)
- References: <51CB340E dot 2080705 at ericsson dot com> <51CB3DB8 dot 50908 at redhat dot com> <51CB3F03 dot 5030905 at ericsson dot com>
>> Most if not all enable/disable breakpoint-and-similars commands
>> when not passed a breakpoint number apply to all breakpoints.
>> Supporting that would make it possible to disable the count
>> for all breakpoints with just "enable count 0".
>>
>> WDY(all)T of making that work?
>
> That is what I expected it would do in the first place. That is why I typed that :)
Semi-related question. As soon as you type a "enable count" type command, the disposition switches to "disable". Is there a way to switch it back to "keep" ? "enable count 0" would disable the count, but the breakpoint will still be disabled on next hit.