read watchpoints ignored?

Johan Rydberg jrydberg@virtutech.com
Mon Nov 14 13:59:00 GMT 2005


Vladimir Prus wrote:

> This essentially disables read watchpoints. What's the point in first 
> implementing read watchpoints in a target, and then disabling them completely 
> in gdb? Should be then disallow "read watchpoint" packet in the remote 
> protocol?

I wouldn't say it disables read watchpoints, since the functionality GDB
provides is exactly that; read watchpoints.  The difference is that it
uses access watchpoints to accomplish this, because a large set of targets
does not support true read watchpoints.

Which is more important; providing the functionality, or providing some
functionality for some targets, but using hardware read watchpoints instead
of hardware access watchpoints?

~j



More information about the Gdb mailing list