[Top] [All Lists]

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

To: "Maciej W. Rozycki" <>
Subject: Re: [PATCH, RFC] MIPS: Implement the getcontext API
From: Ralf Baechle <>
Date: Thu, 2 Apr 2009 15:19:22 +0200
Cc:,, "Maciej W. Rozycki" <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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 ...


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