linux-mips
[Top] [All Lists]

Re: [PATCH, RFC] MIPS: Implement the getcontext API

To: "Maciej W. Rozycki" <macro@codesourcery.com>
Subject: Re: [PATCH, RFC] MIPS: Implement the getcontext API
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 2 Apr 2009 15:19:22 +0200
Cc: linux-mips@linux-mips.org, libc-ports@sourceware.org, "Maciej W. Rozycki" <macro@linux-mips.org>
In-reply-to: <alpine.DEB.1.10.0902282326580.4064@tp.orcam.me.uk>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <alpine.DEB.1.10.0902282326580.4064@tp.orcam.me.uk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, Mar 01, 2009 at 12:12:25AM +0000, Maciej W. Rozycki wrote:

>  Here is code to implement the getcontext API for MIPS.  This glibc patch
> is sent to the linux-mips mailing list, because it makes use of an
> internal syscall which has not been designated as a part of the public
> ABI.  I am writing to request this syscall to become fixed as a part of
> the ABI or to seek for an alternative.  See below for the rationale.

Debuggers need to know about the stack frame and so it already has became
a part of the ABI, if we want or not.  You may recall the great pain I
went through to maintain compatibility in the past when changes were
necessary for example to support the DSP ASE.  But to some degree the
stackframe is a function of hardware development which I don't control
so I can only give a best effort type of guarantee ...

  Ralf

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