This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] breakpoint.c: don't generate bp events for internal bps
- To: fnasser at redhat dot com
- Subject: Re: [RFA] breakpoint.c: don't generate bp events for internal bps
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Fri, 11 May 2001 09:55:56 +0300
- CC: keiths at cygnus dot com, gdb-patches at sources dot redhat dot com
- References: <Pine.GSO.4.33.0105102023220.29679-100000@ryobi.cygnus.com> <3AFB779D.E9F4B5D3@redhat.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Fri, 11 May 2001 01:24:45 -0400
> From: Fernando Nasser <fnasser@redhat.com>
>
> It is OK to only generate events for visible breakpoints, but the hook
> must run for all breakpoints. Whatever is using the hook may need to
> know about the internal ones as well.
I agree. But I would go even farther: is it possible to explain why
is it a good idea to make this change? What exactly is wrong with
generating breakpoint events as we do now?
At the very least, I think we should consider all the uses of the
breakpoint events, to judge whether some of them do indeed want to see
internal breakpoints. Is such a list available somewhere?