This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
__builtin_setjmp/__builtin_longjmp Implementation Implementation
- From: 王 刚伟 <gwwang10 at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 02 Feb 2007 15:24:07 +0800
- Subject: __builtin_setjmp/__builtin_longjmp Implementation Implementation
- Bcc:
Hi all:
In gcc4.1.1/gcc/unwind-sjlj.c.
#define setjmp __builtin_setjmp
#define longjmp __builtin_longjmp
the implementation of them are "expand_builtin_setjmp" and
"expand_builtin_longjmp" in gcc4.1.1/gcc/builtins.c?
My program about exception handle crashs ,when "longjmp" is called to
restore context,and registers are not restored correctly.
thank you:)
--David
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com