From owner-freebsd-hackers Thu Jan 9 8:25:36 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E49BF37B401 for ; Thu, 9 Jan 2003 08:25:35 -0800 (PST) Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C0D543E4A for ; Thu, 9 Jan 2003 08:25:35 -0800 (PST) (envelope-from P.Dawidek@prioris.mini.pw.edu.pl) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id D06587D304; Thu, 9 Jan 2003 17:25:28 +0100 (CET) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 1091) id D89877D2F8; Thu, 9 Jan 2003 17:25:20 +0100 (CET) Date: Thu, 9 Jan 2003 17:25:20 +0100 From: Pawel Jakub Dawidek To: Jake Burkholder Cc: freebsd-hackers@freebsd.org Subject: Re: Exceptions via setjmp/longjmp in kernel. Message-ID: <20030109162520.GB51455@prioris.mini.pw.edu.pl> References: <20030109143059.GC47263@prioris.mini.pw.edu.pl> <20030109110355.C4032@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20030109110355.C4032@locore.ca> User-Agent: Mutt/1.4i X-PGP-Key-URL: http://garage.freebsd.pl/jules.pgp X-OS: FreeBSD 4.7-STABLE i386 X-Virus-Scanned: by AMaViS (prioris) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 09, 2003 at 11:03:55AM -0500, Jake Burkholder wrote: +> The kernel longjmp only ever seems to return 1. See i386/i386/support.s. That's right, thanks! But this is strange, setjmp/longjmp are defined in C99 and there setjmp() returns value from longjmp(). -- Pawel Jakub Dawidek UNIX Systems Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message