From patchwork Sat Nov 28 16:52:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 9843 Received: (qmail 58790 invoked by alias); 28 Nov 2015 16:52:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 58778 invoked by uid 89); 28 Nov 2015 16:52:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 28 Nov 2015 16:52:42 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id A341CC0B7AA3 for ; Sat, 28 Nov 2015 16:52:41 +0000 (UTC) Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tASGqe5Y016678 for ; Sat, 28 Nov 2015 11:52:41 -0500 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [pushed] Adjust GDB to demangler API change Date: Sat, 28 Nov 2015 16:52:39 +0000 Message-Id: <1448729559-11237-1-git-send-email-palves@redhat.com> Before commit 3a8724032abf, DEMANGLE_COMPONENT_CAST was used for both casts and conversion operators. We now have DEMANGLE_COMPONENT_CONVERSION for the latter. gdb/ChangeLog: 2014-11-28 Pedro Alves * cp-name-parser.y (conversion_op): Use DEMANGLE_COMPONENT_CONVERSION instead of DEMANGLE_COMPONENT_CAST. --- gdb/ChangeLog | 5 +++++ gdb/cp-name-parser.y | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fd84223..209f7c7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-11-28 Pedro Alves + + * cp-name-parser.y (conversion_op): Use + DEMANGLE_COMPONENT_CONVERSION instead of DEMANGLE_COMPONENT_CAST. + 2015-11-27 Simon Marchi * remote.c (start_thread): Add cast. diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y index cbbb0e8..c7a3f12 100644 --- a/gdb/cp-name-parser.y +++ b/gdb/cp-name-parser.y @@ -528,7 +528,7 @@ oper : OPERATOR NEW since it's not clear that it's parseable. */ conversion_op : OPERATOR typespec_2 - { $$ = fill_comp (DEMANGLE_COMPONENT_CAST, $2, NULL); } + { $$ = fill_comp (DEMANGLE_COMPONENT_CONVERSION, $2, NULL); } ; conversion_op_name