gcc/include
Bryce McKinlay 3b60dd8e10 Add support for Java demangling under the v3 ABI:
* cp-demangle.c (NAMESPACE_SEPARATOR): New define.
	(struct demangling_def): Add `style' field.
	(demangling_new): New parameter `style'. Set it in demangling_t.
	(demangle_prefix): Use NAMESPACE_SEPARATOR.
	(demangle_type_ptr): Don't emit pointer symbol if doing Java output.
	(cp_demangle): New parameter `style'. Pass it to demangling_new().
	(main): Call cp_demangle with extra parameter.
	(java_demangle_v3): New function.
	(java_builtin_type_names): New. Table of primitive type names used
	for Java demangling.
	(demangle_builtin_type): Look up in java_builtin_type_names if doing
	Java output.
	* cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
	demangling.
	(long_options): Remove obsolete `java' option.
	(main): Remove explicit handling of `java' option. Instead, pass style
	parameter in cplus_demangle flags as gdb does.
	* testsuite/demangle.expected: Add some Java test cases.

From-SVN: r39399
2001-02-02 00:27:39 +00:00
..
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
ChangeLog COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
ansidecl.h cpphash.h: Remove conditional #define of __extension__. 2000-05-06 20:00:03 +00:00
demangle.h Add support for Java demangling under the v3 ABI: 2001-02-02 00:27:39 +00:00
dyn-string.h In include: 2000-09-05 01:01:12 +00:00
floatformat.h Add field ``name'' to floatformat. 2000-05-31 11:00:54 +00:00
fnmatch.h Update FSF address in copyright header. 1999-01-11 06:53:51 -07:00
getopt.h * getopt.h obstack.h: Standarize copyright statement. 2000-12-06 18:54:13 -07:00
hashtab.h hashtab.h (struct htab): Add member return_allocation_failure. 2000-11-04 07:35:33 +00:00
libiberty.h Makefile.in, [...]: Expunge remaining traces of facility for running MD files through C preprocessor. 2000-11-22 08:32:26 +00:00
md5.h John David Anglin <dave@hiauly1.hia.nrc.ca> 2000-09-05 23:10:12 -07:00
objalloc.h Update FSF address in copyright header. 1999-01-11 06:53:51 -07:00
obstack.h * getopt.h obstack.h: Standarize copyright statement. 2000-12-06 18:54:13 -07:00
partition.h Changes in include: 2000-03-10 08:16:55 +00:00
safe-ctype.h safe-ctype.h: Make code work on all targets and not just on targets where a char is 8 bits. 2000-12-16 11:12:06 -08:00
sort.h sort.h (sys/types.h): File included unconditionnaly. 2000-05-04 15:40:25 +00:00
splay-tree.h splay-tree.h (splay_tree_predecessor): Declare. 2000-09-10 21:28:21 +00:00
symcat.h restore comment 2000-06-01 19:16:50 -04:00