This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [MinGW] RFC/RFA: Get Partial Stack Traces on Windows
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 05 Jul 2006 14:51:01 +0530
- Subject: Re: [MinGW] RFC/RFA: Get Partial Stack Traces on Windows
- Openpgp: url=http://rmathew.com/aa_6C114B8F.txt
- References: <44A02481.207@gmail.com> <17568.12296.591741.9873@dell.pink> <44A08A06.6020803@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ranjit Mathew wrote:
> Andrew Haley wrote:
>>> What happens with -findirect-dispatch?
>
> The stack-trace changes to:
> --------------------------- 8< ---------------------------
> Exception in thread "main" java.lang.Exception: I don't like you!
> at java.lang.VMThrowable.fillInStackTrace(a.exe)
> at java.lang.Throwable.<init>(a.exe)
> --------------------------- 8< ---------------------------
Since methods are called via the atable, the calling
instruction is no longer a simple "CALL <XYZ>". The
hack in fallback_backtrace() therefore doesn't work
for methods called via indirect dispatch.
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEq4R9Yb1hx2wRS48RAjLeAJ9rVvX1eza8wdbwhtBvuikJ7S/LSgCfQoVj
5+1En2FwUuqXnsTBwLutF+c=
=dSwC
-----END PGP SIGNATURE-----