[RFC] Possible bug with i386 watchpoints on several targets.

Eli Zaretskii eliz@is.elta.co.il
Tue Dec 4 23:50:00 GMT 2001


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.



More information about the Gdb-patches mailing list