[Top] [All Lists]

Re: [PATCH] Unify watch.S and remove arch/mips/lib-{32,64}

To: "Maciej W. Rozycki" <>
Subject: Re: [PATCH] Unify watch.S and remove arch/mips/lib-{32,64}
From: Ralf Baechle <>
Date: Mon, 4 Jun 2007 16:41:36 +0100
Cc: Atsushi Nemoto <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
User-agent: Mutt/1.5.14 (2007-02-12)
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.


<Prev in Thread] Current Thread [Next in Thread>