This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: DWARF-2 EH for MinGW gcj?
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Sun, 26 Nov 2006 21:32:05 -0600
- Subject: Re: DWARF-2 EH for MinGW gcj?
- Reply-to: gnustuff at thisiscool dot com
Hi Ranjit,
>One of the approaches could be to see if the Win32 GUI
>callback code has frame pointers and then walk the chain
>of FPs back up the stack till we find a call frame that
>has associated DW2 unwind info. This could involve ugly
>code like what you can see in the implementation of
>backtrace for SJLJ i386 targets in libgcj.
Interesting. You would think that one of the MinGW folks
would have thought of this, though....
>Another approach could be to simply declare that MinGW
>GCC would not support exception propagation across
>foreign function calls and move on to better things in
>life. :-/
Nice one :)
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/