__builtin_setjmp/__builtin_longjmp Implementation Implementation

王 刚伟 gwwang10@hotmail.com
Fri Feb 2 07:24:00 GMT 2007


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  



More information about the Gcc-help mailing list