This is my second take at MIPS watch register support. Changes from the previous version include: * Change layout of structures used by ptrace to eliminate holes.* Use [set|clear]_tsk_thread_flag() and friends instead of racy direct access.
* mips64 support (untested). * Fix sparse warnings.For this version of the patch you will need the corresponding gdb patch which can be found here:
http://sourceware.org/ml/gdb-patches/2008-04/msg00642.html David Daney