From patchwork Thu Nov 28 15:08: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: 36356 Received: (qmail 49091 invoked by alias); 28 Nov 2019 15:08: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 49078 invoked by uid 89); 28 Nov 2019 15:08:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: gateway31.websitewelcome.com Received: from gateway31.websitewelcome.com (HELO gateway31.websitewelcome.com) (192.185.143.4) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Nov 2019 15:08:26 +0000 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway31.websitewelcome.com (Postfix) with ESMTP id D4B977DB6B for ; Thu, 28 Nov 2019 09:08:24 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id aLP6iUizn3Qi0aLP6ilEBk; Thu, 28 Nov 2019 09:08:24 -0600 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=ehMDfTq+bzYSUJ44oLOA3msmN+RFVGWB9XHwYOlTiE0=; b=pa/4R2SdnLIt7fcVMJaD0eMtzO PJl/cZATCiomYtEbFd7lTMRDeNfVh7RnFQHSVEKSh30nUUgJq3/bHRevo7dR4RRh3F9+LKPr8PfwQ IYlVL0JWvJ6a01NOwfADoYjep; Received: from 97-118-104-188.hlrn.qwest.net ([97.118.104.188]:54022 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iaLP6-004KAv-LQ; Thu, 28 Nov 2019 08:08:24 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Fix creal_internal_fn comment Date: Thu, 28 Nov 2019 08:08:22 -0700 Message-Id: <20191128150822.19697-1-tom@tromey.com> I noticed that the comment before creal_internal_fn refers to $_cimag, but should refer to $_creal. gdb/ChangeLog 2019-11-28 Tom Tromey * value.c (creal_internal_fn): Fix comment. Change-Id: I5665aceb4be5aae7014e914cfb39db184c65d5ea --- gdb/ChangeLog | 4 ++++ gdb/value.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/value.c b/gdb/value.c index 57e62b9175f..2e2117bf31c 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -3947,7 +3947,7 @@ isvoid_internal_fn (struct gdbarch *gdbarch, return value_from_longest (builtin_type (gdbarch)->builtin_int, ret); } -/* Implementation of the convenience function $_cimag. Extracts the +/* Implementation of the convenience function $_creal. Extracts the real part from a complex number. */ static struct value *