This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

__builtin_setjmp/__builtin_longjmp Implementation Implementation


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]