delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/23/19:33:30

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: Tue, 23 Nov 2004 16:32:40 -0800
From: Richard Henderson <rth AT redhat DOT com>
To: Danny Smith <dannysmith AT users DOT sourceforge DOT net>
Cc: 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: <20041124003240.GA6028@redhat.com>
Mail-Followup-To: Richard Henderson <rth AT redhat 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>
Mime-Version: 1.0
In-Reply-To: <001701c4d1ab$949322e0$0a6d65da@DANNY>
User-Agent: Mutt/1.4.1i

On Wed, Nov 24, 2004 at 11:27:11AM +1300, Danny Smith wrote:
> Before I pull any more hair out trying, does any one have any hints on
> how to use an MD_FALLBACK_FRAME_STATE_FOR to workaround ...

That would be wrong.

I think the most likely explanation is that there's a bug in the
dwarf2 generator for stdcall functions with -fomit-frame-pointer,
and the problem should be attacked there.

If you've got a call that takes 12 bytes of arguments on the stack
and pop them on return, then the unwind info should look like

	# DW_CFA_GNU_args_size 12
	call foo
	# DW_CFA_def_cfa_offset <previous value - 12>


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/

- Raw text -


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