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?


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


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