This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH, RFC] MIPS: Implement the getcontext API
- From: Ralf Baechle <ralf at linux-mips dot org>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: linux-mips at linux-mips dot org, libc-ports at sourceware dot org, "Maciej W. Rozycki" <macro at linux-mips dot org>
- Date: Thu, 2 Apr 2009 15:19:22 +0200
- Subject: Re: [PATCH, RFC] MIPS: Implement the getcontext API
- References: <alpine.DEB.1.10.0902282326580.4064@tp.orcam.me.uk>
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