This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Fix backtrace for interpreted code
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Thu, 14 Oct 2004 13:14:32 +0530
- Subject: Re: Fix backtrace for interpreted code
- References: <16749.27189.465623.731242@cuddles.cambridge.redhat.com>
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/