This is the mail archive of the gdb@sourceware.org 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: read watchpoints ignored?


> From: Vladimir Prus <ghost@cs.msu.su>
> Date: Mon, 14 Nov 2005 16:42:20 +0300
> Cc: Daniel Jacobowitz <drow@false.org>,
>  Eli Zaretskii <eliz@gnu.org>,
>  gdb@sources.redhat.com
> 
> This essentially disables read watchpoints. What's the point in first 
> implementing read watchpoints in a target, and then disabling them completely 
> in gdb?

I agree, this is not a good solution.

> I don't yet have specific *real-world* examples, but using "is the value 
> different from the value last time we stopped" as a heuristic to decide if we 
> hit write watchpoint or read watchpoint seems fragile.

It is a vast improvement on what we had before.


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