From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23844 invoked by alias); 24 Nov 2004 17:32:00 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 23624 invoked from network); 24 Nov 2004 17:31:46 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 24 Nov 2004 17:31:46 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAOHVhEJ032385; Wed, 24 Nov 2004 12:31:43 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAOHVgr19463; Wed, 24 Nov 2004 12:31:42 -0500 Received: from frothingslosh.sfbay.redhat.com (frothingslosh.sfbay.redhat.com [172.16.24.27]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id iAOHVdso028768; Wed, 24 Nov 2004 12:31:40 -0500 Received: from frothingslosh.sfbay.redhat.com (localhost.localdomain [127.0.0.1]) by frothingslosh.sfbay.redhat.com (8.13.1/8.13.1) with ESMTP id iAOHVdg5005397; Wed, 24 Nov 2004 09:31:39 -0800 Received: (from rth@localhost) by frothingslosh.sfbay.redhat.com (8.13.1/8.13.1/Submit) id iAOHVdG8005396; Wed, 24 Nov 2004 09:31:39 -0800 X-Authentication-Warning: frothingslosh.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Wed, 24 Nov 2004 17:40:00 -0000 From: Richard Henderson To: "Aaron W. LaFramboise" Cc: Danny Smith , gcc@gcc.gnu.org, Cygwin , mingw-dvlpr Subject: Re: stdcall lib functions with exception throwing callbacks vs Dwarf2 EH Message-ID: <20041124173139.GA5380@redhat.com> Mail-Followup-To: Richard Henderson , "Aaron W. LaFramboise" , Danny Smith , gcc@gcc.gnu.org, Cygwin , mingw-dvlpr 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 X-SW-Source: 2004-11/txt/msg00907.txt.bz2 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~