From: Daniel Jacobowitz <drow@mvista.com>
To: Eli Zaretskii <eliz@elta.co.il>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: Breakpoint infrastructure cleanups [1/8] - define impl_breakpoint
Date: Wed, 08 Oct 2003 19:11:00 -0000 [thread overview]
Message-ID: <20031008191156.GD13579@nevyn.them.org> (raw)
In-Reply-To: <3099-Wed08Oct2003195835+0200-eliz@elta.co.il>
On Wed, Oct 08, 2003 at 07:58:35PM +0200, Eli Zaretskii wrote:
> > Date: Wed, 8 Oct 2003 13:02:33 -0400
> > From: Daniel Jacobowitz <drow@mvista.com>
> > +
> > +enum impl_bptype
> > +{
> > + impl_bp_software_breakpoint,
> > + impl_bp_hardware_breakpoint,
> > + impl_bp_hardware_watchpoint,
> > + impl_bp_other /* Miscellaneous... */
> > +};
>
> Why did you decide to leave the subclasses of hardware watchpoints
> (read, access, and write) in the parent structure, instead of moving
> that distinction here? That seems like you are spreading related
> information between several places instead of having it in a single
> place.
I'm actually planning to move it to the impl_breakpoint. I haven't
done it yet because I wanted to postpone watchpoints until the
one-to-many support was in place.
For instance, according to my interpretation, rwatch **foo should be:
a read watchpoint on the address *foo
a write watchpoint on the address foo, in case it is moved.
I don't know if that matches GDB's current interpreation of such
expressions, though - I haven't looked yet.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-10-08 19:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-08 17:02 Daniel Jacobowitz
2003-10-08 18:17 ` Jim Blandy
2003-10-14 1:30 ` Daniel Jacobowitz
2003-10-14 15:31 ` Andrew Cagney
2003-10-14 15:36 ` Daniel Jacobowitz
2003-10-14 16:03 ` Andrew Cagney
2003-10-08 18:21 ` Eli Zaretskii
2003-10-08 19:11 ` Daniel Jacobowitz [this message]
2003-10-09 6:04 ` Eli Zaretskii
2003-10-09 19:16 ` Michael Snyder
2003-11-06 17:57 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031008191156.GD13579@nevyn.them.org \
--to=drow@mvista.com \
--cc=eliz@elta.co.il \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox