]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
commit d5b397191d6242fa1b0941cdb328c421bf2b09a0
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 2 Jul 2011 19:45:28 +0000 (19:45 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 2 Jul 2011 19:45:28 +0000 (19:45 +0000)
commitfa1bc51c4b2d90ba0ead46cc523c966fb7b899f3
treeef1e53b981a5a298768019ce7c758c5e8752b415
parent754578bf68f3e49393741c53a048ea6dd81389fb
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.
include/ChangeLog
include/demangle.h
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected
libiberty/testsuite/test-demangle.c