From patchwork Fri Mar 10 17:46:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Blain X-Patchwork-Id: 66237 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7E08D385B516 for ; Fri, 10 Mar 2023 17:47:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E08D385B516 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678470449; bh=0AUNa/wZL/dI/T8XBIuXHWw33jgIHQPcSdBwuMoySKs=; h=Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=B7lPXVGQwTo5RsNQHqtbqetzAAX/bjdmPivc58IyUQrv9ElRpOAiNzbUGGWMUaMJE QyFwzqR9ia3GfXs6bUu9gYQgFkDL4otowvYr20U2XyJLbFDPHxX0nv3UPZBZu5D8KP ZLIYloLjSbW/PpkRcDBUi+IWbllE5Vr3gGJZdcVY= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by sourceware.org (Postfix) with ESMTPS id 0ACBB3858D38 for ; Fri, 10 Mar 2023 17:47:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0ACBB3858D38 Received: by mail-qt1-x831.google.com with SMTP id c18so6597969qte.5 for ; Fri, 10 Mar 2023 09:47:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678470422; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0AUNa/wZL/dI/T8XBIuXHWw33jgIHQPcSdBwuMoySKs=; b=wWAB7hITASEGiPJeWLfL1t9huxxt6s99lAuFvBpcAQWnrFxserJm6mjIfA40ECgQVB /qerOWDFGYeAXU6J0CgJ4eMJg8gDB7rE/3qgVsfMm3TsI56C6l6zvYuUgmrXo1Bm5AT+ OzElUdGgJ/IlotDiEDBZE0y8kEQID1xxuKOpJzfzb5YLS5sAZRkKAzAg3zKBcsS74Wf7 bGVCGl6vV4qLCcZXasVRj/OAW6rWpuxHpsO12cf6DIN90bVN5ObIW23tMVbexJi6vshW aADFc7vkiofe2aJH7UHWpc3qGn8gse/u6TJzIFv97YT1GD+W0Q5hAlAF/TifoRtVZqP1 rAMw== X-Gm-Message-State: AO0yUKU4ECpa4fe5j62ZY3Mt37cZ1zcCPWsqQejEnSySVqM0MpZErDU6 rJDrXEDrqFdb/nB9znWchVvfNPX8nWw= X-Google-Smtp-Source: AK7set+fePtIDZ2TbSg29pV2aCZi5ogB3ft/UQNtt6z42Hy4eDUOpXd/zmZ1XE5EyJkZ3v61EYwltw== X-Received: by 2002:a05:622a:1101:b0:3bf:ca04:3bc6 with SMTP id e1-20020a05622a110100b003bfca043bc6mr18216121qty.9.1678470422284; Fri, 10 Mar 2023 09:47:02 -0800 (PST) Received: from WQUEN758573.ncr.int.ec.gc.ca (ecodor131.cmc.ec.gc.ca. [205.211.133.131]) by smtp.gmail.com with ESMTPSA id f4-20020ac84704000000b003bfaf01af24sm220249qtp.46.2023.03.10.09.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 09:47:01 -0800 (PST) Date: Fri, 10 Mar 2023 12:46:56 -0500 Subject: [PATCH 1/2] gdb/doc: MPFR is now a necessary requirement MIME-Version: 1.0 Message-Id: <20230306-doc-require-mpfr-fix-v1-1-8f207504dd3e@gmail.com> References: <20230306-doc-require-mpfr-fix-v1-0-8f207504dd3e@gmail.com> In-Reply-To: <20230306-doc-require-mpfr-fix-v1-0-8f207504dd3e@gmail.com> To: gdb-patches@sourceware.org Cc: Andrew Pinski X-Mailer: b4 0.13-dev-10ee4 X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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-Patchwork-Original-From: Philippe Blain via Gdb-patches From: Philippe Blain Reply-To: Philippe Blain Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" Since 99118062785 (Use toplevel configure for GMP and MPFR for gdb, 2022-11-08), MPFR is mandatory for building GDB. That commit adjusted the "Requirements for Building GDB" section of the documentation so that the MPFR entry mentions "now uses" instead of "can use", but left the whole entry under the "Tools/Packages Optional for Building GDB" heading. Move the MPFR entry to the "Tools/Packages Necessary for Building GDB" heading. --- gdb/doc/gdb.texinfo | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 2a2077c29d1..218c2da9c86 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -39781,6 +39781,21 @@ you can use the @option{--with-gmp} option or options @option{--with-gmp-include} and @option{--with-gmp-lib} to specify its location. +@item MPFR +@anchor{MPFR} +@value{GDBN} now uses the GNU MPFR multiple-precision floating-point +library. This library may be included with your operating system +distribution; if it is not, you can get the latest version from +@url{http://www.mpfr.org}. The @file{configure} script will search +for this library in several standard locations; if it is installed +in an unusual path, you can use the @option{--with-mpfr} option or options +@option{--with-mpfr-include} and @option{--with-mpfr-lib} to specify +its location. + +GNU MPFR is used to emulate target floating-point arithmetic during +expression evaluation when the target uses different floating-point +formats than the host. + @end table @heading Tools/Packages Optional for Building @value{GDBN} @@ -39858,21 +39873,6 @@ the usual place, then the @file{configure} script will use it automatically. If it is installed in an unusual path, you can use the @option{--with-liblzma-prefix} option to specify its location. -@item MPFR -@anchor{MPFR} -@value{GDBN} now uses the GNU MPFR multiple-precision floating-point -library. This library may be included with your operating system -distribution; if it is not, you can get the latest version from -@url{http://www.mpfr.org}. The @file{configure} script will search -for this library in several standard locations; if it is installed -in an unusual path, you can use the @option{--with-mpfr} option or options -@option{--with-mpfr-include} and @option{--with-mpfr-lib} to specify -its location. - -GNU MPFR is used to emulate target floating-point arithmetic during -expression evaluation when the target uses different floating-point -formats than the host. - @item Python @value{GDBN} can be scripted using Python language. @xref{Python}. By default, @value{GDBN} will be compiled if the Python libraries are