From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22115 invoked by alias); 26 Nov 2013 16:35:47 -0000 Mailing-List: contact src-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: src-cvs-owner@sourceware.org Received: (qmail 22085 invoked by uid 306); 26 Nov 2013 16:35:46 -0000 Date: Tue, 26 Nov 2013 16:35:00 -0000 Message-ID: <20131126163544.22029.qmail@sourceware.org> From: tromey@sourceware.org To: src-cvs@sourceware.org Subject: gdb and binutils branch master updated. 492e19d098f4bf4f22bac22815e9cb117be55b33 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 4f14910fa1331398cc695011a6af43a89252b4b1 X-Git-Newrev: 492e19d098f4bf4f22bac22815e9cb117be55b33 X-SW-Source: 2013-q4/txt/msg00252.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gdb and binutils". The branch, master has been updated via 492e19d098f4bf4f22bac22815e9cb117be55b33 (commit) from 4f14910fa1331398cc695011a6af43a89252b4b1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=492e19d098f4bf4f22bac22815e9cb117be55b33 commit 492e19d098f4bf4f22bac22815e9cb117be55b33 Author: ccoutant Date: Fri Nov 22 22:25:49 2013 +0000 Fix demangler to handle conversion operators correctly. libiberty/ PR other/59195 * cp-demangle.c (struct d_info_checkpoint): New struct. (struct d_print_info): Add current_template field. (d_operator_name): Set flag when processing a conversion operator. (cplus_demangle_type): When processing for a conversion operator, backtrack if necessary. (d_expression_1): Renamed from d_expression. (d_expression): New wrapper around d_expression_1. (d_checkpoint): New function. (d_backtrack): New function. (d_print_init): Initialize current_template. (d_print_comp): Set current_template. (d_print_cast): Put current_template in scope for printing conversion operator name. (cplus_demangle_init_info): Initialize is_expression and is_conversion. * cp-demangle.h (struct d_info): Add is_expression and is_conversion fields. * testsuite/demangle-expected: New test cases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205292 138bc75d-0d04-0410-961f-82ee72b054a4 ----------------------------------------------------------------------- Summary of changes: libiberty/ChangeLog | 23 ++++ libiberty/cp-demangle.c | 190 ++++++++++++++++++++++++++------ libiberty/cp-demangle.h | 5 + libiberty/testsuite/demangle-expected | 20 ++++ 4 files changed, 202 insertions(+), 36 deletions(-) hooks/post-receive -- gdb and binutils