This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] have demangler emit java-style output
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] have demangler emit java-style output
- From: Per Bothner <per at bothner dot com>
- Date: 23 Feb 2001 20:05:46 -0800
- Cc: java at gcc dot gnu dot org
I checked in the following into the cvs trunk.
2001-02-23 Per Bothner <per@bothner.com>
* java/lang/Throwable.java (CPlusPlusDemangler): Pass -s java to
c++filt to select java-style output.
Index: java/lang/Throwable.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Throwable.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Throwable.java 2000/12/22 06:19:24 1.9
+++ Throwable.java 2001/02/24 03:52:49 1.10
@@ -57,7 +57,7 @@
CPlusPlusDemangler (PrintWriter writer) throws IOException
{
p = writer;
- proc = Runtime.getRuntime ().exec ("c++filt");
+ proc = Runtime.getRuntime ().exec ("c++filt -s java");
procOut = proc.getOutputStream ();
procIn = proc.getInputStream ();
}
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/