This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Possible bug with i386 watchpoints on several targets.
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Michael Snyder <msnyder at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com, kettenis at science dot uva dot nl
- Date: Wed, 5 Dec 2001 09:49:46 +0200 (IST)
- Subject: Re: [RFC] Possible bug with i386 watchpoints on several targets.
On Fri, 30 Nov 2001, I wrote:
> The reason that hardware watchpoints are only considered to fire when
> the watched value changes is that hardware watchpoints are treated teh
> same as software watchpoints, and software watchpoints obviously
> cannot fire unless the watched value changes.
>
> I think it is fundamentally wrong to treat hardware and software
> watchpoints in a similar way. I think hardware watchpoints should be
> treated like read and access watchpoints, not like software
> watchpoints. If others (mainly Michael Snyder) agree, I will submit a
> patch that will make that change, and will also solve this particular
> problem raised by Pierre.
Michael, did you read this part of my message? If so, do you agree with
the principle? If you do, I'd like to write a patch that will fix this.