Fix backtrace for interpreted code
Ranjit Mathew
rmathew@gmail.com
Thu Oct 14 07:44:00 GMT 2004
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/
More information about the Java-patches
mailing list