delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/22/05:05:54

Date: Wed, 22 May 2002 11:52:58 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
X-Sender: pavenis AT ieva06
To: =?windows-1257?Q?Boris_Vrbani=E6?= <boris DOT vrbanic AT hi DOT hinet DOT hr>
Cc: djgpp AT delorie DOT com
Subject: Re: Question about "unwind-dw2.c"
In-Reply-To: <acf9ij$3o7k$1@as201.hinet.hr>
Message-ID: <Pine.A41.4.05.10205221149480.21866-100000@ieva06>
MIME-Version: 1.0
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


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




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019