From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id DB6063857C5B for ; Mon, 21 Sep 2020 00:38:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DB6063857C5B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9C67D561D4; Sun, 20 Sep 2020 20:38:14 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NK+TNfHFO9b4; Sun, 20 Sep 2020 20:38:14 -0400 (EDT) Received: from takamaka.brobecker.org (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 77EC55607A; Sun, 20 Sep 2020 20:38:14 -0400 (EDT) Received: by takamaka.brobecker.org (Postfix, from userid 1000) id 733DA82CC8; Sun, 20 Sep 2020 17:38:12 -0700 (PDT) Date: Sun, 20 Sep 2020 17:38:12 -0700 From: Joel Brobecker To: Jonny Grant Cc: gdb@sourceware.org Subject: Re: gdb online manuals Message-ID: <20200921003812.GA4075@adacore.com> References: <83fece94-630c-a860-dd35-d2088517f697@jguk.org> <20200715183937.GE5016@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP 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 00:38:16 -0000 > 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). -- Joel