src/libiberty ChangeLog cp-demangle.c testsuit ...

jkratoch@sourceware.org jkratoch@sourceware.org
Sat Jul 2 19:45:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Branch: 	gdb_7_3-branch
Changes by:	jkratoch@sourceware.org	2011-07-02 19:45:28

Modified files:
	libiberty      : ChangeLog cp-demangle.c 
	libiberty/testsuite: demangle-expected test-demangle.c 

Log message:
	commit d5b397191d6242fa1b0941cdb328c421bf2b09a0
	Author: DJ Delorie <dj@delorie.com>
	Date:   Mon Jun 13 23:01:42 2011 +0000
	
	merge from gcc
	
	include/
	* demangle.h (DMGL_RET_POSTFIX): Extend the comment.
	(DMGL_RET_DROP): New.
	
	libiberty/
	* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>:
	Suppress d_print_mod for DMGL_RET_POSTFIX.
	* testsuite/demangle-expected: New testcases for --ret-postfix.
	
	* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
	not pass DMGL_RET_POSTFIX or DMGL_RET_DROP.  Support DMGL_RET_DROP.
	* testsuite/demangle-expected: New testcases for --ret-drop.
	* testsuite/test-demangle.c: Document --ret-drop in a comment.
	(main): New variable ret_drop, fill it, call cplus_demangle with it.
	
	* cp-demangle.c (struct d_print_info): Remove field options.
	(d_print_init): Remove parameter options.
	(cplus_demangle_print_callback): Update all the callers.
	(d_print_comp, d_print_mod_list, d_print_mod, d_print_function_type)
	(d_print_array_type, d_print_expr_op, d_print_cast, d_print_subexpr):
	Add parameter options, update all the callers.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.568&r2=1.568.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/cp-demangle.c.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.90&r2=1.90.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/testsuite/demangle-expected.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.55&r2=1.55.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/testsuite/test-demangle.c.diff?cvsroot=src&only_with_tag=gdb_7_3-branch&r1=1.11&r2=1.11.16.1



More information about the Src-cvs mailing list