From patchwork Wed Jul 16 05:15:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 2072 Received: (qmail 10476 invoked by alias); 16 Jul 2014 05:19:56 -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 10361 invoked by uid 89); 16 Jul 2014 05:19:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL, BAYES_00, KAM_STOCKGEN autolearn=no 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:53 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1X7Hd8-0004Tt-C4 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Tue, 15 Jul 2014 22:19:50 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 15 Jul 2014 22:19:50 -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:49 -0700 From: Yao Qi To: Subject: [PATCH 4/4] Remove Chill from comments Date: Wed, 16 Jul 2014 13:15:42 +0800 Message-ID: <1405487742-32613-5-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 This patch is to remove "Chill" from comments, however "Chill" is still mentioned in valops.c. I am not sure we just remove "Chill" from comments or need to update or simplify code in valops.c:do_search_struct_field. I didn't touch it in this patch. gdb: 2014-07-15 Yao Qi * eval.c: Remove "Chill" from comments. * gdbtypes.h: Likewise. * symtab.h: Likewise. --- gdb/eval.c | 11 +++++------ gdb/gdbtypes.h | 7 +++---- gdb/symtab.h | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/gdb/eval.c b/gdb/eval.c index f075096..5e64e54 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -346,12 +346,11 @@ evaluate_struct_tuple (struct value *struct_val, return struct_val; } -/* Recursive helper function for setting elements of array tuples for - (the deleted) Chill. The target is ARRAY (which has bounds - LOW_BOUND to HIGH_BOUND); the element value is ELEMENT; EXP, POS - and NOSIDE are as usual. Evaluates index expresions and sets the - specified element(s) of ARRAY to ELEMENT. Returns last index - value. */ +/* Recursive helper function for setting elements of array tuples. + The target is ARRAY (which has bounds LOW_BOUND to HIGH_BOUND); the + element value is ELEMENT; EXP, POS and NOSIDE are as usual. + Evaluates index expresions and sets the specified element(s) of + ARRAY to ELEMENT. Returns last index value. */ static LONGEST init_array_element (struct value *array, struct value *element, diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index bb6352d..5008ef4 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -132,10 +132,9 @@ enum type_code TYPE_CODE_RANGE, /**< Range (integers within spec'd bounds). */ /* * A string type which is like an array of character but prints - differently (at least for (the deleted) CHILL). It does not - contain a length field as Pascal strings (for many Pascals, - anyway) do; if we want to deal with such strings, we should use - a new type code. */ + differently. It does not contain a length field as Pascal + strings (for many Pascals, anyway) do; if we want to deal with + such strings, we should use a new type code. */ TYPE_CODE_STRING, /* * Unknown type. The length field is valid if we were able to diff --git a/gdb/symtab.h b/gdb/symtab.h index 399ae54..4a47d48 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -271,7 +271,7 @@ extern const char *symbol_demangled_name extern int demangle; /* Macro that returns the name to be used when sorting and searching symbols. - In C++, Chill, and Java, we search for the demangled form of a name, + In C++ and Java, we search for the demangled form of a name, and so sort symbols accordingly. In Ada, however, we search by mangled name. If there is no distinct demangled name, then SYMBOL_SEARCH_NAME returns the same value (same pointer) as SYMBOL_LINKAGE_NAME. */