This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Breakpoint infrastructure cleanups [0/8]
On Wed, Oct 08, 2003 at 07:56:13PM +0200, Eli Zaretskii wrote:
> > Date: Wed, 8 Oct 2003 12:55:34 -0400
> > From: Daniel Jacobowitz <drow@mvista.com>
> >
> > On the infrastructure side we will be able to have an "impl_breakpoint"
> > (short for implementation; better naming ideas?)
>
> It looks to me that your impl_breakpoint is simply a linked list of
> addresses we watch and a few flags. So perhaps we shouldn't introduce
> two kinds of breakpoints, but instead call that list something
> entirely different, like bp_data (for ``breakpoint data'').
Each of them is a breakpoint, though. Well, that or a watchpoint or a
catchpoint of some type. The user's request has triggered the creation
of N actual breaking-points.
I'm not sure.
> > Thoughts? Comments on the overall approach? OK?
>
> I think the direction is correct. Thanks for raising the issue and
> for working on it.
>
> Putting on my documentation maintainer's hat, may I suggest that this
> project also tries to improve the documentation of our breakpoint
> handling in gdbint.texinfo, at least to some degree? IMHO it's a
> shame that breakpoints, _the_ most central facility of any debugger,
> are documented so poorly.
Let me take a look over what's there. No promises :) but when a bit
more has been done, I'll try to find time to revise it.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer