This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Remove dead code, clear breakpoint ignore counts?
- From: Stan Shebs <stanshebs at earthlink dot net>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 14 Oct 2008 11:32:00 -0700
- Subject: Re: PATCH: Remove dead code, clear breakpoint ignore counts?
- References: <200810141910.49306.pedro@codesourcery.com>
Pedro Alves wrote:
I think I stared at this one time too many.
What do you think of the attached? Would anyone miss this? There's
no way the user can request to not show hit counts, so, this is dead
code.
Heh, I can't even remember why it seemed like there was any interest in
conditionalizing; perhaps because the hit counts were a new feature and
we thought users would want to be able to go back to the old behavior.
In any case, I think by now there is consensus that hit counts are good
to display. :-)
Hit counts are going to get a little messy for multi-process, because
each inferior could have a different hit count, and it seems more useful
to have a per-inferior hit count than an aggregate over all the
inferiors to which the breakpoint applies.
Stan