From: Eli Zaretskii <eliz@gnu.org>
To: "Siva Velusamy" <siva.velusamy@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: rwatchpoint configuration
Date: Tue, 18 Dec 2007 04:23:00 -0000 [thread overview]
Message-ID: <u8x3sk4wn.fsf@gnu.org> (raw)
In-Reply-To: <e7dfeff00712171659h47b0b6f3iceed79727ba1803d@mail.gmail.com> (siva.velusamy@gmail.com)
> Date: Mon, 17 Dec 2007 16:59:39 -0800
> From: "Siva Velusamy" <siva.velusamy@gmail.com>
>
> In this thread:
>
> http://sources.redhat.com/ml/gdb/2005-11/msg00251.html
>
> Eli mentions that "If someone finds a way to announce a read
> watchpoint when the value changed on a target that supports that,
> without losing support for read watchpoints on x86 (which is by far
> the most popular platform these days), I'll gladly agree to such a
> change"
>
> So I guess the question really is if there has been an update to this.
For now, you could try a workaround: put two watchpoints on the same
expression: one an rwatch (the one you wanted), the other a write
watchpoint whose `commands' say just "continue". This should cause GDB
to note the changed value when it is written into the variable(s), so
when the rwatch triggers it will see the known value and stop.
Please see if this works for you. If it doesn't, please tell more
details.
next prev parent reply other threads:[~2007-12-18 4:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 0:43 Siva Velusamy
2007-12-18 0:48 ` Daniel Jacobowitz
2007-12-18 0:53 ` Siva Velusamy
2007-12-18 0:59 ` Siva Velusamy
2007-12-18 2:27 ` Daniel Jacobowitz
2007-12-18 4:16 ` Eli Zaretskii
2007-12-18 4:23 ` Eli Zaretskii [this message]
2007-12-18 7:22 ` Siva Velusamy
2007-12-18 4:19 ` 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=u8x3sk4wn.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb@sourceware.org \
--cc=siva.velusamy@gmail.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