This is the mail archive of the java-patches@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: Fix backtrace for interpreted code


Andrew Haley wrote:
> 
> There's no truly portable way to do something like this, but with a
> little help from the unwinder library we can do it.  This won't work
> without the unwinder, but as far as I'm aware
> _Unwind_FindEnclosingFunction should work on all targets.
> 
> Is this true even of mingw and Cygwin?  Anyone who knows, please let
> me know.

_Unwind_FindEnclosingFunction in unwind-sjlj.c always
returns NULL, so I would assume that it would not work
as expected on MinGW and Cygwin if GCC for these targets
is built to use SJLJ EH instead of DWARF-2 EH.

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT gmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/


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