From patchwork Thu May 30 14:54:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 32925 Received: (qmail 49611 invoked by alias); 30 May 2019 14:54:27 -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 49600 invoked by uid 89); 30 May 2019 14:54:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1311, HIGH, HContent-Transfer-Encoding:8bit X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 May 2019 14:54:26 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 73616117F9C; Thu, 30 May 2019 10:54:24 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zP9qaWZz+1CG; Thu, 30 May 2019 10:54:24 -0400 (EDT) Received: from murgatroyd.Home (174-29-48-168.hlrn.qwest.net [174.29.48.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 1F10E117F92; Thu, 30 May 2019 10:54:24 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Two comment fixes in gdbtypes.h Date: Thu, 30 May 2019 08:54:22 -0600 Message-Id: <20190530145422.14208-1-tromey@adacore.com> MIME-Version: 1.0 This fixes a couple of comments in gdbtypes.h. One comment had a typo; and another comment referred to "Moto", which is presumably some long-gone Motorola-related project. Tested by rebuilding. gdb/ChangeLog 2019-05-30 Tom Tromey * gdbtypes.h (struct range_bounds) : Fix comment. (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED): Rewrite comment. --- gdb/ChangeLog | 6 ++++++ gdb/gdbtypes.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 2f3834e9f56..49653ffcaf7 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -619,7 +619,7 @@ struct range_bounds struct dynamic_prop high; /* True if HIGH range bound contains the number of elements in the - subrange. This affects how the final hight bound is computed. */ + subrange. This affects how the final high bound is computed. */ int flag_upper_bound_is_count : 1; @@ -1369,7 +1369,8 @@ extern bool set_type_align (struct type *, ULONGEST); dynprop->kind -/* Moto-specific stuff for FORTRAN arrays. */ +/* Accessors for struct range_bounds data attached to an array type's + index type. */ #define TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED(arraytype) \ TYPE_HIGH_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype))