From: Vladimir Prus <ghost@cs.msu.su>
To: Johan Rydberg <jrydberg@virtutech.com>
Cc: Daniel Jacobowitz <drow@false.org>, Eli Zaretskii <eliz@gnu.org>,
gdb@sources.redhat.com
Subject: Re: read watchpoints ignored?
Date: Mon, 14 Nov 2005 14:10:00 -0000 [thread overview]
Message-ID: <200511141710.28146.ghost@cs.msu.su> (raw)
In-Reply-To: <43789851.7080608@virtutech.com>
On Monday 14 November 2005 16:59, you wrote:
> Vladimir Prus wrote:
> > This essentially disables read watchpoints. What's the point in first
> > implementing read watchpoints in a target, and then disabling them
> > completely in gdb? Should be then disallow "read watchpoint" packet in
> > the remote protocol?
>
> I wouldn't say it disables read watchpoints, since the functionality GDB
> provides is exactly that; read watchpoints. The difference is that it
> uses access watchpoints to accomplish this, because a large set of targets
> does not support true read watchpoints.
>
> Which is more important; providing the functionality, or providing some
> functionality for some targets, but using hardware read watchpoints instead
> of hardware access watchpoints?
I hope we can have both. The only thing needed is a way to detect that remote
targets supports read watchpoints. Using
remote_protocol_Z[Z_PACKET_READ_WP].support
from remote.c (under cover of new target operation) is such a way, and I think
it should work fine. But comments from more knowledgable persons are welcome.
- Volodya
next prev parent reply other threads:[~2005-11-14 14:10 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 13:22 Vladimir Prus
2005-11-11 18:19 ` Eli Zaretskii
2005-11-13 16:45 ` Daniel Jacobowitz
2005-11-13 22:38 ` Eli Zaretskii
2005-11-14 2:43 ` Daniel Jacobowitz
2005-11-14 4:38 ` Eli Zaretskii
2005-11-14 14:42 ` Daniel Jacobowitz
2005-11-15 4:02 ` Eli Zaretskii
2005-11-14 10:10 ` Vladimir Prus
2005-11-14 14:41 ` Daniel Jacobowitz
2005-11-14 14:45 ` Daniel Jacobowitz
2005-11-15 4:02 ` Eli Zaretskii
2005-11-14 13:16 ` Johan Rydberg
2005-11-14 13:42 ` Vladimir Prus
2005-11-14 13:59 ` Johan Rydberg
2005-11-14 14:10 ` Vladimir Prus [this message]
2005-11-15 4:01 ` Eli Zaretskii
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=200511141710.28146.ghost@cs.msu.su \
--to=ghost@cs.msu.su \
--cc=drow@false.org \
--cc=eliz@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=jrydberg@virtutech.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