linux-mips
[Top] [All Lists]

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

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [PATCH] Unify watch.S and remove arch/mips/lib-{32,64}
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 4 Jun 2007 16:41:36 +0100
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.64N.0706041620500.863@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070605.000239.31638706.anemo@mba.ocn.ne.jp> <20070604151048.GA30128@linux-mips.org> <Pine.LNX.4.64N.0706041620500.863@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
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.

  Ralf

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