On Mon, Jun 04, 2007 at 04:23:29PM +0100, Maciej W. Rozycki wrote: > > I think we can simply drop the entire watchpoint support. This was > > only ever working on R4000/R4400 and even there only somewhat useful > > for kernel debugging. So if we ever use watchpoint support I think > > something needs to be developed from scratch. > > A long-term plan is to make them available to userland through ptrace() > in a uniform way covering MIPS32/64 watchpoints as well for gdb and > suchlike. Sure, one of infinitly many things on the to do list. However the code we currently havee isn't very useful for that purpose. For maintenance sake it should rather be rewritten in C and it needs to learn about processors of the post R4400 era. Ralf