Date: Thu, 20 Apr 2000 05:58:49 +0000 From: Anatoly Vorobey <mellon@pobox.com> To: Steve Price <sprice@hiwaay.net> Cc: hackers@freebsd.org Subject: Re: sigjmp_buf question Message-ID: <20000420055849.A66104@happy.checkpoint.com> In-Reply-To: <Pine.OSF.4.21.0004192132030.14905-100000@fly.HiWAAY.net>; from sprice@hiwaay.net on Wed, Apr 19, 2000 at 09:39:44PM -0500 References: <Pine.OSF.4.21.0004192132030.14905-100000@fly.HiWAAY.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000420055849.A66104>