Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f
Date: Wed, 24 Nov 2004 09:31:39 -0800
From: Richard Henderson <rth@redhat.com>
To: "Aaron W. LaFramboise" <aaronavay62@aaronwl.com>
Cc: Danny Smith <dannysmith@users.sourceforge.net>, gcc@gcc.gnu.org,
   Cygwin <cygwin@cygwin.com>, mingw-dvlpr <mingw-dvlpr@lists.sourceforge.net>
Subject: Re: stdcall lib functions with exception throwing callbacks vs Dwarf2 EH
Message-ID: <20041124173139.GA5380@redhat.com>
Mail-Followup-To: Richard Henderson <rth@redhat.com>, "Aaron W. LaFramboise" <aaronavay62@aaronwl.com>, Danny Smith <dannysmith@users.sourceforge.net>, gcc@gcc.gnu.org, Cygwin <cygwin@cygwin.com>, mingw-dvlpr <mingw-dvlpr@lists.sourceforge.net>
References: <001701c4d1ab$949322e0$0a6d65da@DANNY> <20041124003240.GA6028@redhat.com> <000c01c4d1fa$3f297fd0$e56d65da@DANNY> <20041124080708.GA3578@redhat.com> <41A44B97.1060007@aaronwl.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <41A44B97.1060007@aaronwl.com>
User-Agent: Mutt/1.4.1i

On Wed, Nov 24, 2004 at 02:51:35AM -0600, Aaron W. LaFramboise wrote:
> Is there a way to have the DW2 unwinder call some particular function,
> for eg, if the previous frame was not compiled with -fexceptions, rather
> than just crashing?  Is this what MD_FALLBACK_FRAME_STATE_FOR is for?

Yes, sortof.  I don't know if you can make it do what you want, exactly.

> Other Windows compilers are able to handle this condition.

If you want to be able to handle this, I recommend that you NOT use dwarf2.
Handling this condition is not in the dwarf2 design requirements.


r~

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

