V3 ABI Java symbol demangling

Bryce McKinlay bryce@albatross.co.nz
Sat Jan 27 23:09:00 GMT 2001


This patch adds full support for demangling symbols in Java style to
the C++ V3 demangler. With this, gdb debugging of Java code using the
V3 ABI works as well as it did under the old ABI.

For example:

$ ./c++filt
_ZN4java3awt4geom15AffineTransform9transformEP6JArrayIPNS1_7Point2DEEiS7_ii

java::awt::geom::AffineTransform::transform(JArray<java::awt::geom::Point2D*>*,
int, JArray<java::awt::geom::Point2D*>*, int, int)

becomes:

$ ./c++filt --format=java
_ZN4java3awt4geom15AffineTransform9transformEP6JArrayIPNS1_7Point2DEEiS7_ii

java.awt.geom.AffineTransform.transform(java.awt.geom.Point2D[], int,
java.awt.geom.Point2D[], int, int)

ok to commit?

regards

  [ bryce ]



More information about the Java-patches mailing list