From patchwork Thu Apr 23 22:44:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 6414 Received: (qmail 74553 invoked by alias); 23 Apr 2015 22:44:39 -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 74535 invoked by uid 89); 23 Apr 2015 22:44:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-ig0-f202.google.com Received: from mail-ig0-f202.google.com (HELO mail-ig0-f202.google.com) (209.85.213.202) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 23 Apr 2015 22:44:36 +0000 Received: by igdh15 with SMTP id h15so134795igd.1 for ; Thu, 23 Apr 2015 15:44:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=AHoPzfK+Uv8Uz8vuQClVqDe5GTArb6+oSMIS+CUBmKo=; b=mdd0hgMcfBhqjwzbxC+9/HjncITEE1x5VtpnT0RAUis08EzxIsJhxVhNOMpS8hNYuw hjZvo43j3jThnsgJk0Tos+bgkysrqsqTAwQ6tGode7v3ct3VR8T2NO704+MVhCcN6uKP 3ApmDxXpWwak5r0zOaRidjRd1dQ9xCPVOcCjw62BKi4YzuJmwOzv42C55FI3xRyYoL4Y x39zCLlOi0n2ThkE5PSYTGLoFnQs5ScAGnD4/ua1eDDsru/e84N215/g4Fhr/ZwF95Xk /FLNFN4Hd1No4zAwZ4Oc1Wc1tnUj3kiDA+uHob7nQCHr3UEJwNNDUSUfCTjChXa+KtzW NsLQ== X-Gm-Message-State: ALoCoQm5HEaTEeRorjQm1C7J1sHw3oYDRvDhUwaNK+Rv6YFOoDi0ZewszwmDathZxjWHTaNMptUCreLi4wyJhlZEh3o1WTCfFm6iT51SbcvT2Y/9iarJ3b9WT+P0GwK2oCOlSWzV1OKNl1nqDjYLZyLzYLy/K49zXN6M2tTR3tfK9L8bnM/lz50= X-Received: by 10.182.231.138 with SMTP id tg10mr6977492obc.2.1429829073878; Thu, 23 Apr 2015 15:44:33 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id o5si558286yhd.5.2015.04.23.15.44.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 15:44:33 -0700 (PDT) Received: from ruffy.mtv.corp.google.com ([172.17.128.44]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTPS id GGSCEZuG.1; Thu, 23 Apr 2015 15:44:33 -0700 From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH] gdbtypes.h (struct cplus_struct_type) : Fix comment. Date: Thu, 23 Apr 2015 15:44:32 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. I happened to notice this comment could use some improvement. 2015-04-23 Doug Evans * gdbtypes.h (struct cplus_struct_type) : Fix comment. diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 883418f..a912c8c 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -915,8 +915,8 @@ struct cplus_struct_type { /* * Number of base classes this type derives from. The baseclasses are stored in the first N_BASECLASSES fields - (i.e. the `fields' field of the struct type). I think only the - `type' field of such a field has any meaning. */ + (i.e. the `fields' field of the struct type). The only fields + of struct field that are used are: type, name, loc.bitpos. */ short n_baseclasses;