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 From patchwork Fri Mar 10 17:46:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Blain X-Patchwork-Id: 66238 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 48CC0385B528 for ; Fri, 10 Mar 2023 17:47:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48CC0385B528 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678470451; bh=n6E7/9iCmlZhnzkm6wu1RViyXEB7Crq9JRe9oJG8taE=; 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=CfdQqfKuCUQIhxAXi6FCWPARzUae7uu7lUU4Mh0rgpUrUptx/UWn4CZysuQRxzwYu z8jn9noz3FQYVh+HCwVtJPfbMtMhg6fjHobhT8haDjK9kJlJdDsGo2DmHdQhdQ/9bu j/3GrlxSWMYVbIsDIIxuO3xgt0dxKEdl3G2nzOr0= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by sourceware.org (Postfix) with ESMTPS id 5C8FE3858D3C for ; Fri, 10 Mar 2023 17:47:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C8FE3858D3C Received: by mail-qt1-x82a.google.com with SMTP id c3so6577751qtc.8 for ; Fri, 10 Mar 2023 09:47:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678470423; 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=n6E7/9iCmlZhnzkm6wu1RViyXEB7Crq9JRe9oJG8taE=; b=Cz2B/+wGb5tVhyBgL2xcHaYCSv30a2LMoeEtZ7StOQD2RDFHJZkPyhEthUBsw5o4HR xWP4fSxMCzcVUlOuD00UQReb9SybqohlUdszQ2dM80I4IoaTDnYNvGZ9nIAr1+hSUd7T g95ZD1e9qw6P20r8QtIEKTWc+7kB51dpFeg+M96IVxLnVCxsIPQiEoV4nI7LqKugEjaq MtWEW6hGsbyOr4v6Q4OonvS0adFsPHEC54yuvJko8VadZwk2qfn4/YBWnPQOFCdcdF7m OEFUyXR8BAnsQlypYxqQX26KbtV45HL4zpLklMMZf/jBTprSNljFsBzgBbAZN/T8pEpN 9pdg== X-Gm-Message-State: AO0yUKUsORpE3gSpdj7dJ58X9I9KbVz/SS34gtNKLxg+rtHv9Y8JX5Zq +67c8DoAOht0f23h31L+yvQ= X-Google-Smtp-Source: AK7set9CAMsiixu8I3SF0HMe4Pn1knmrfziWtN2mH+GQNTBko1Q11smBNeMW2gFIXgAJg6IRe7cJuA== X-Received: by 2002:a05:622a:118b:b0:3bf:d1ba:daec with SMTP id m11-20020a05622a118b00b003bfd1badaecmr41491050qtk.16.1678470423668; Fri, 10 Mar 2023 09:47:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 09:47:03 -0800 (PST) Date: Fri, 10 Mar 2023 12:46:57 -0500 Subject: [PATCH 2/2] gdb/doc: uniformize wording for GMP and MPFR entries MIME-Version: 1.0 Message-Id: <20230306-doc-require-mpfr-fix-v1-2-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.7 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" Make the wording of the GMP and MPFR entries in the "Requirements for Building GDB" section of the documentation more uniform by: - mentioning the configure script in the GMP entry, as is done in the MPFR entry - adding the long name of the MPFR library between parenthesis, as is done in the GMP entry - removing the second paragraph of the MPFR entry and moving its content to the first one, mimicking the wording of the GMP entry Reviewed-By: Eli Zaretskii --- gdb/doc/gdb.texinfo | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 218c2da9c86..44e3859658e 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -39776,15 +39776,18 @@ make program. Other variants of @code{make} will not work. @value{GDBN} now uses GMP to perform some of its arithmetics. This library may be included with your operating system distribution; if it is not, you can get the latest version from -@url{https://gmplib.org/}. If GMP is installed at an unusual path, +@url{https://gmplib.org/}. The @file{configure} script will search +for this library in several standard locations; if it is installed at an unusual path, 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 +@item MPFR (The GNU MPFR Library) @anchor{MPFR} @value{GDBN} now uses the GNU MPFR multiple-precision floating-point -library. This library may be included with your operating system +library to emulate target floating-point arithmetic during +expression evaluation when the target uses different floating-point +formats than the host. 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 @@ -39792,10 +39795,6 @@ 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}