This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DWARF-2 EH for MinGW gcj?


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]