delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/24/12:42:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <16804.51039.496437.749017@cuddles.cambridge.redhat.com>
Date: Wed, 24 Nov 2004 17:39:43 +0000
From: Andrew Haley <aph AT redhat DOT com>
To: Richard Henderson <rth AT redhat DOT com>
Cc: "Aaron W. LaFramboise" <aaronavay62 AT aaronwl DOT com>,
Danny Smith <dannysmith AT users DOT sourceforge DOT net>, gcc AT gcc DOT gnu DOT org,
Cygwin <cygwin AT cygwin DOT com>, mingw-dvlpr <mingw-dvlpr AT lists DOT sourceforge DOT net>
Subject: Re: stdcall lib functions with exception throwing callbacks vs Dwarf2 EH
In-Reply-To: <20041124173139.GA5380@redhat.com>
References: <001701c4d1ab$949322e0$0a6d65da AT DANNY> <20041124003240 DOT GA6028 AT redhat DOT com> <000c01c4d1fa$3f297fd0$e56d65da AT DANNY> <20041124080708 DOT GA3578 AT redhat DOT com> <41A44B97 DOT 1060007 AT aaronwl DOT com> <20041124173139 DOT GA5380 AT redhat DOT com>

Richard Henderson writes:
 > 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.

DWARF2 unwinder data is required by Java for things other than just
throwing exceptions.  If it's possible to create a
MD_FALLBACK_FRAME_STATE_FOR that can unwind through SEH frames -- and
I believe it is -- we should do so.

Andrew.

--
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/

- Raw text -


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