linux-mips
[Top] [All Lists]

Re: RFC: Revise n32 ptrace interface

To: Dominic Sweetman <dom@mips.com>
Subject: Re: RFC: Revise n32 ptrace interface
From: Daniel Jacobowitz <dan@debian.org>
Date: Fri, 30 Sep 2005 16:34:34 -0400
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <17213.38447.42728.297338@mips.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050922182601.GA10829@nevyn.them.org> <20050930000550.GE3983@linux-mips.org> <17213.38447.42728.297338@mips.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.8i
On Fri, Sep 30, 2005 at 08:46:55PM +0100, Dominic Sweetman wrote:
> 
> Ralf Baechle (ralf@linux-mips.org) writes:
> 
> > I quite deliberately did omit DSP support from 64-bit ptrace(2); there
> > is currently no MIPS64 processor with DSP support that I know of.
> 
> This is true so far. 
> 
> But assuming that 64-bit processing becomes increasingly interesting
> (which seems certain) and that some kind of DSP support with extra
> registers remains attractive (which seems fairly likely)... well, I'd
> have said that any 64-bit MIPS CPU configured from now on is quite
> likely to have extra DSP registers.
> 
> So while "you aren't going to need it" for a while, anyone thinking of
> doing a non-compatible change to ptrace might want to reserve some
> space for these registers.

In the future they should be added using PTRACE_GETDSPREGS, or
something similar.  No one's designed that yet, so the first person to
need it gets to do it right.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

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