Subject: Re: does setjmp() save all general purpose CPU registers on all NetBSD architectures?
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: tech-kern
Date: 08/26/2000 11:06:54
On Fri, Aug 25, 2000 at 05:51:10PM -0400, Greg A. Woods wrote:
> Because I'd been experiencing repeated strange crashes causing broken
> stack frames with Emacs-20.x on NetBSD I've been helping pretest the
> upcoming GNU Emacs release (21.0) on NetBSD.  I've been asked to find
> out if setjmp() saves all registers (which could possibly contain
> Lisp_Object pointers, presumably any general purpose register that could
> be used by the compiler for a pointer) in its jmp_buf on all NetBSD
> architectures. 

Some of the standards people please correct me, but I think only volatile
variables are guaranteed to be saved.

Now, as for what we _do_, I think (at least on some architectures) floating
point registers aren't saved.

Regards,
	-is