From patchwork Wed Jul 16 05:15:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 2070 Received: (qmail 10218 invoked by alias); 16 Jul 2014 05:19:55 -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 10019 invoked by uid 89); 16 Jul 2014 05:19:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Jul 2014 05:19:51 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1X7Hd6-0004Tl-JQ from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Tue, 15 Jul 2014 22:19:48 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 15 Jul 2014 22:19:48 -0700 Received: from qiyao.dyndns.org.com (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Tue, 15 Jul 2014 22:19:47 -0700 From: Yao Qi To: Subject: [PATCH 3/4] Update comments to TERNOP_SLICE Date: Wed, 16 Jul 2014 13:15:41 +0800 Message-ID: <1405487742-32613-4-git-send-email-yao@codesourcery.com> In-Reply-To: <1405487742-32613-1-git-send-email-yao@codesourcery.com> References: <1405487742-32613-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 X-IsSubscribed: yes TERNOP_SLICE was added for language Chill, but it is used for Ada and D later. Since language Chill was removed from GDB, TERNOP_SLICE is only used for Ada and D. This patch is to update its comments. gdb: 2014-07-15 Yao Qi * std-operator.def: Update comments to TERNOP_SLICE. --- gdb/std-operator.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/std-operator.def b/gdb/std-operator.def index c33a287..24c3a2b 100644 --- a/gdb/std-operator.def +++ b/gdb/std-operator.def @@ -93,8 +93,8 @@ OP (BINOP_END) /* Operates on three values computed by following subexpressions. */ OP (TERNOP_COND) /* ?: */ -/* A sub-string/sub-array. (the deleted) Chill syntax: - OP1(OP2:OP3). Return elements OP2 through OP3 of OP1. */ +/* A sub-string/sub-array. Ada syntax: OP1(OP2..OP3). Return + elements OP2 through OP3 of OP1. */ OP (TERNOP_SLICE) /* Multidimensional subscript operator, such as Modula-2 x[a,b,...].