This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]