DWARF-2 EH for MinGW gcj?

Mohan Embar gnustuff@thisiscool.com
Mon Nov 27 03:35:00 GMT 2006


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/





More information about the Java mailing list