From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gateway33.websitewelcome.com (gateway33.websitewelcome.com [192.185.145.216]) by server2.sourceware.org (Postfix) with ESMTPS id 5A1773876060 for ; Sat, 7 Mar 2020 15:03:25 +0000 (GMT) Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id E4AC84F496 for ; Sat, 7 Mar 2020 09:03:24 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id Aaz6jcred8vkBAaz6jW8sx; Sat, 07 Mar 2020 09:03:24 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jLTDRRAwr1iwPxkarDyXodwdSzCi51fLCumXRh202fo=; b=jOBMVKnfKRJCnAWTCFuUg3U5yC 3YL1uA7fpepBMMwz1yrMPPD7365UDohXjBOUUFoWTTQ8ytnK9qf/XSvEFgxQ448Vmb3u417ZxlBOC EaTkLMiw6TYYL9tsklTw+GZNX; Received: from 184-96-250-69.hlrn.qwest.net ([184.96.250.69]:35552 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jAaz6-000Q4o-J3; Sat, 07 Mar 2020 08:03:24 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [pushed] Remove some obsolete comments Date: Sat, 7 Mar 2020 08:03:22 -0700 Message-Id: <20200307150322.22813-1-tom@tromey.com> X-Mailer: git-send-email 2.17.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 184.96.250.69 X-Source-L: No X-Exim-ID: 1jAaz6-000Q4o-J3 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 184-96-250-69.hlrn.qwest.net (bapiya.Home) [184.96.250.69]:35552 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2020 15:03:27 -0000 While working on complex number support, I found a couple of apparently obsolete coments. This removes them. 2020-03-07 Tom Tromey * valops.c (value_literal_complex): Remove obsolete comment. * gdbtypes.h (enum type_code) : Remove obsolete comment. --- gdb/ChangeLog | 6 ++++++ gdb/gdbtypes.h | 4 +--- gdb/valops.c | 4 +--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 74498435822..cb674dbc1e8 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -120,9 +120,7 @@ enum type_code TYPE_CODE_FUNC, /**< Function type */ TYPE_CODE_INT, /**< Integer type */ - /* * Floating type. This is *NOT* a complex type. Beware, there - are parts of GDB which bogusly assume that TYPE_CODE_FLT can - mean complex. */ + /* * Floating type. This is *NOT* a complex type. */ TYPE_CODE_FLT, /* * Void type. The length field specifies the length (probably diff --git a/gdb/valops.c b/gdb/valops.c index 7fc555a8108..d48474665c3 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -3856,9 +3856,7 @@ value_slice (struct value *array, int lowbound, int length) /* Create a value for a FORTRAN complex number. Currently most of the time values are coerced to COMPLEX*16 (i.e. a complex number - composed of 2 doubles. This really should be a smarter routine - that figures out precision intelligently as opposed to assuming - doubles. FIXME: fmb */ + composed of 2 doubles. */ struct value * value_literal_complex (struct value *arg1, -- 2.17.2