From owner-freebsd-hackers Wed Apr 19 20: 0:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from happy.checkpoint.com (happy.checkpoint.com [199.203.156.41]) by hub.freebsd.org (Postfix) with ESMTP id D4A0737B88A for ; Wed, 19 Apr 2000 20:00:06 -0700 (PDT) (envelope-from mellon@pobox.com) Received: (from mellon@localhost) by happy.checkpoint.com (8.9.3/8.9.3) id FAA66295; Thu, 20 Apr 2000 05:58:49 GMT (envelope-from mellon@pobox.com) Date: Thu, 20 Apr 2000 05:58:49 +0000 From: Anatoly Vorobey To: Steve Price Cc: hackers@freebsd.org Subject: Re: sigjmp_buf question Message-ID: <20000420055849.A66104@happy.checkpoint.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from sprice@hiwaay.net on Wed, Apr 19, 2000 at 09:39:44PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 19, 2000 at 09:39:44PM -0500, Steve Price wrote: > Where does one look in the source for the definition of what > each of the ints in sigjmp_buf._sjb (or jmp_buf._jb for that > matter) contain? The only occurrences of it (according to > grep(1)) are in the header file machine/setjmp.h. I also > looked into src/sys/i386/i386/machdep.c and didn't see anything > that struck me as being what I'm looking for. Look into src/lib/libc/i386/gen/_setjmp.S and other files in the same directory for setjmp() and sigsetmp(). Basically, it'll store edx, ebx, esp, ebp, esi, edi, and the CPU control word, in that order. -- Anatoly Vorobey, mellon@pobox.com http://pobox.com/~mellon/ "Angels can fly because they take themselves lightly" - G.K.Chesterton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message