From: "Boris Vrbaniæ" Newsgroups: comp.os.msdos.djgpp Subject: Re: Question about "unwind-dw2.c" Date: Wed, 22 May 2002 07:16:22 +0200 Organization: HThinet Lines: 33 Message-ID: References: <1022014669 DOT 435052 AT queeg DOT ludd DOT luth DOT se> NNTP-Posting-Host: ad21-m145.net.hinet.hr X-Trace: as201.hinet.hr 1022044563 123124 195.29.56.145 (22 May 2002 05:16:03 GMT) X-Complaints-To: abuse AT hinet DOT hr NNTP-Posting-Date: Wed, 22 May 2002 05:16:03 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > : Can anyone help me? Please!!! > > I can't help you, but specifying which unwind-dw2.c you're talking > about might help. > > > Right, > > MartinS I'm talking about unwind-dw2.c that is comming with source distribution of gcc 3.04 compiler and that is built into gcc. It is used to unwind stack after exception has been captured. First unwind pass is done right (but even for this to work I had to change values of __builtin_return_address to 1 in uw_init_context macro and uw_init_context1 function) and at the end of second pass when filling reg values it causes exception. Question is, if this reg is pointer to value at stack context of register or register value is written to this reg array (this one I tryied by removing pointer declaration from _Unwind_SetGR and _Unwind_GetGR but wasn't working - test program was terminated with abort() - exeception is not raised - as a result of FDE isn't founded). If it might help, I could post changed source files of unwind-dw2.c, unwind-dw2-fde.c and unwind.inc! Thanx