From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WaIABFNxEWAURgAAWB0awg (envelope-from ) for ; Wed, 27 Jan 2021 08:57:39 -0500 Received: by simark.ca (Postfix, from userid 112) id 010C31EF80; Wed, 27 Jan 2021 08:57:38 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI,RDNS_NONE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8B6D01E590 for ; Wed, 27 Jan 2021 08:57:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 340E6382D830; Wed, 27 Jan 2021 13:57:38 +0000 (GMT) Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id 68CA9383542D for ; Wed, 27 Jan 2021 13:57:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 68CA9383542D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 3EC5F116E36; Wed, 27 Jan 2021 08:57:36 -0500 (EST) 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 tjV9h80ykZXk; Wed, 27 Jan 2021 08:57:36 -0500 (EST) Received: from murgatroyd.Home (97-122-91-54.hlrn.qwest.net [97.122.91.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id F06FD116E21; Wed, 27 Jan 2021 08:57:35 -0500 (EST) From: Tom Tromey To: gdb-patches@sourceware.org Subject: [pushed] Remove extra space after @pxref in gdb.texinfo Date: Wed, 27 Jan 2021 06:57:33 -0700 Message-Id: <20210127135733.2476752-1-tromey@adacore.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Cc: Tom Tromey Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" Internally at AdaCore, documentation is still built with Texinfo 4.13. This version gave an error when building gdb.texinfo: ../../../binutils-gdb/gdb/doc/gdb.texinfo:27672: @pxref expected braces. ../../../binutils-gdb/gdb/doc/gdb.texinfo:27672: ` {dotdebug_gdb_scripts section,,The @cod...' is too long for expansion; not expanded. ... followed by many more spurious errors that were caused by this one. This patch fix the problem by removing the extra space. I don't know whether it's advisable to try to support this ancient version of Texinfo (released in 2008 apparently); but in this particular case the fix is trivial, so I'm checking it in. gdb/doc/ChangeLog 2021-01-27 Tom Tromey * gdb.texinfo (Auto-loading extensions): Remove extraneous space. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index e43819f0f70..84243a72eaf 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -27669,7 +27669,7 @@ extensions when a new object file is read (for example, due to the library): @file{@var{objfile}-gdb.@var{ext}} (@pxref{objfile-gdbdotext file,,The @file{@var{objfile}-gdb.@var{ext}} file}) and the @code{.debug_gdb_scripts} section of modern file formats like ELF -(@pxref {dotdebug_gdb_scripts section,,The @code{.debug_gdb_scripts} +(@pxref{dotdebug_gdb_scripts section,,The @code{.debug_gdb_scripts} section}). For a discussion of the differences between these two approaches see @ref{Which flavor to choose?}. -- 2.26.2