From: "Mario Deilmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: unwind programs stack ! Date: Tue, 14 Aug 2001 14:04:34 +0200 Lines: 32 Message-ID: <9lb68u$8j710$1@ID-75293.news.dfncis.de> References: <9lb3p7$8h7vn$1 AT ID-75293 DOT news DOT dfncis DOT de> <7263-Tue14Aug2001152627+0300-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: pcmd.pallas.de (194.45.33.52) X-Trace: fu-berlin.de 997792862 9018400 194.45.33.52 (16 [75293]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ?:o I need the struct member __jmp_buf __jmpbuf; /* Calling environment. */ in the defintion of jmp_buf[1]; e.g.: #include static jmp_buf env; /*extract the FP from env */ fp=(void *)env->__jmp_buf[JMPBUF_FP]; this doesn't work with djgpp's setjmp.h or do I understand something wrong ? -- Mario "Eli Zaretskii" schrieb im Newsbeitrag news:7263-Tue14Aug2001152627+0300-eliz AT is DOT elta DOT co DOT il... | > From: "Mario Deilmann" | > Newsgroups: comp.os.msdos.djgpp | > Date: Tue, 14 Aug 2001 13:22:04 +0200 | > | > in Linux I can unwind a programs stack using setjmp.h __jmpbuf. | > | > this is not possible with djgpp's setjmp.h cause there is no __jmpbuf | | ??? What's wrong with longjmp?