[patch] have demangler emit java-style output

Per Bothner per@bothner.com
Fri Feb 23 19:56:00 GMT 2001


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/



More information about the Java mailing list