This is the mail archive of the gdb-patches@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: [PATCH] Enable count for breakpoints


>>>>> "Stan" == Stan Shebs <stanshebs@earthlink.net> writes:

Stan> This patch implements a request from Ericsson GDB users, to generalize
Stan> "enable once" so that breakpoints can be disabled after a given number
Stan> of hits instead of the first one.

I looked at the patch and it all looked fine to me.

I wondered what happened if a user did 'enable once 500' and 'ignore
500' for the same breakpoint.  From reading the code, I think 'ignore'
takes precedence (first the ignores are done, then the enable once is
handled).  I think this should either be documented, or one setting
should zero out the other.

Tom


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