Date: Wed, 22 May 2002 11:52:58 +0300 (WET) From: Andris Pavenis X-Sender: pavenis AT ieva06 To: =?windows-1257?Q?Boris_Vrbani=E6?= Cc: djgpp AT delorie DOT com Subject: Re: Question about "unwind-dw2.c" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=windows-1257 Content-Transfer-Encoding: 8BIT Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 22 May 2002, Boris Vrbaniæ wrote: > > : 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! unwind-dw2.c is gcc internal stuff and is not directly DJGPP related. Perhaps some of GCC mailing lists (like gcc AT gcc DOT gnu DOT org) is more apropriate place for asking questions about it. Andris