From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 85915385783D for ; Mon, 21 Sep 2020 22:59:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 85915385783D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=jguk.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=jg@jguk.org Received: by mail-wm1-x330.google.com with SMTP id q9so1305081wmj.2 for ; Mon, 21 Sep 2020 15:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+aYnkKRasNBtOJ7xybTf04sCK6IsNXRmYFmAoe6/REs=; b=R6jGRi4sf4E/U+autAfbCqDe9om0e1sDMazI+OafdkslrdJbizD+3ZhCwMj6VfKrVH 1H27LFY+tWiJiZVPkCOOdUzyNx2b3yORdXs4lBLZY1nwOiANDdux81QXa5+y91Ul5s1M F+ciLPMPyoigvLWGiBQU0s7ChgflMpIN8ufzoY+Ky062gmIEmE5jATWE9STfd2oa0R1J RlAeDjSn1u3hDBbeEA77O4GNosd5xlCm3OF039nKo3+vxmpaKTd8zyCfqWMno8c33nvs 8XOU2pDWNuRlsbV4lxWR47eaElQicdAG+pxAY9N5GMecxM76IOzKrnEnoLfwe8iDIWGV qbpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+aYnkKRasNBtOJ7xybTf04sCK6IsNXRmYFmAoe6/REs=; b=WLClq93hy6ys2CDIk0VkqnRSc6qLtbrEpFbEQdAlkrjHe6w9ktMSYNkwunns3mQ5T5 Thzm7Ul1dKtxjsd0Jf43QXopkI+7IstKPqAv2jG0DLaPV1TqSthOWPIEHaklqjotB47i ik6U7SlPCBDZ9+Qg4uzwuSnHpwawle4KvS9zCdvJ1u3NvPnJk7IXHJJdt2jOfDwO4N/i RxVEEtD+d3E1D25B5LI7ci3A9TKu2AKOXWq7Le7rjCz87sJ+GESRRwqCqqM7GkYvFFhU 4C5yCDXArsUsRYUMaPrh+9SQ4IT98QB1rSH3MrZ58kqhnu/SPcl47JBSe3ovqWgFlEPF IR9g== X-Gm-Message-State: AOAM531qeXoOvOC4/SCEKW7RWv809QCoGcyarottUip5DNUP1qh4fS7V QCyxZlCqP9w8QTn/UQkQcl+WgX8r0zs29A== X-Google-Smtp-Source: ABdhPJxhiqhUN+mqP00VRfEW28PVNV39hpyrvJ5pFcq8DFd1Ad7Im71QFLNMu4bLZxH0Gipk6z7bEA== X-Received: by 2002:a7b:c111:: with SMTP id w17mr1371141wmi.109.1600729179042; Mon, 21 Sep 2020 15:59:39 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id z9sm1526086wmg.46.2020.09.21.15.59.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Sep 2020 15:59:38 -0700 (PDT) Subject: Re: gdb online manuals To: Joel Brobecker Cc: gdb@sourceware.org References: <83fece94-630c-a860-dd35-d2088517f697@jguk.org> <20200715183937.GE5016@adacore.com> <20200921003812.GA4075@adacore.com> From: Jonny Grant Message-ID: Date: Mon, 21 Sep 2020 23:59:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200921003812.GA4075@adacore.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, TXREP, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2020 22:59:42 -0000 On 21/09/2020 01:38, Joel Brobecker wrote: >> Thank you for the tip. >> Ok, I saw version 9 is documented here now: >> https://sourceware.org/gdb/onlinedocs/gdb/index.html >> >> >> I noticed "refcard" and "stack_frame" only have gz versions. refcard.pdf.gz is actually only 1000 bytes smaller compressed, maybe simpler just to show it as a PDF? At least it shows in the browser then. >> >> stack_frame.pdf.gz is 7000 bytes smaller. I'm sure the web-browser would download it via http compression anyway. > > I finally had some time to look at this today; as it turns out, > it's just not refcard of stack_frame that don't compress well, > it's all PDF files. I think the PDF being produced are already > compressed, which explain why gzip doesn't provide much gains. > > Given the extra usability, I just changed the generation of the docs > to not compress the pdf files (the rest stays the same, as in those > other formats, it does make a difference). > Fantastic Joel, Thank you, Jonny