David Daney wrote:
To follow is my fifth pass at MIPS watch register support.
I'd like to add a feature request, understanding fully that the response may very well be, "interesting idea, now show us a patch"--can we have an interface that would allow kernel-space allocation of watchpoint registers?
The rationale is that we have found it quite useful to have kernel and driver code set watchpoints for debugging purposes. I would not expect that kernel space code could grab watchpoint registers already in use by ptrace, and that ptrace would be free to allocate all watchpoint registers not in use for kernel space purposes, i.e. there would be no watchpoint registers permanently allocated for kernel space usage.
- - - - - Cisco - - - - - This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.