public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* __builtin_setjmp/__builtin_longjmp Implementation Implementation
@ 2007-02-02  7:24 王 刚伟
  2007-02-02 11:52 ` John Love-Jensen
  0 siblings, 1 reply; 5+ messages in thread
From: 王 刚伟 @ 2007-02-02  7:24 UTC (permalink / raw)
  To: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 542 bytes --]

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  

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-03  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-02  7:24 __builtin_setjmp/__builtin_longjmp Implementation Implementation 王 刚伟
2007-02-02 11:52 ` John Love-Jensen
2007-02-02 12:18   ` __builtin_setjmp/__builtin_longjmp Implementation 王 刚伟
2007-02-02 13:06     ` John Love-Jensen
2011-04-03  7:45       ` licheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).