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 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth AT redhat DOT com using -f Date: Wed, 24 Nov 2004 09:31:39 -0800 From: Richard Henderson <rth AT redhat DOT com> To: "Aaron W. LaFramboise" <aaronavay62 AT aaronwl DOT com> Cc: 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 Message-ID: <20041124173139.GA5380@redhat.com> Mail-Followup-To: Richard Henderson <rth AT redhat DOT com>, "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> 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> 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/