From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by sourceware.org (Postfix) with ESMTPS id A1548385DC1A for ; Mon, 14 Mar 2022 14:03:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A1548385DC1A Received: by mail-il1-x136.google.com with SMTP id p2so11021075ile.2 for ; Mon, 14 Mar 2022 07:03:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c4Li2elwVSSstnsIKjvXBc0kXiA5RDs72nG60nKFBnw=; b=yHPoGByh5eZt55ffE8cGqTEerwnM2ebve7XVnmpg5btgiXSEmCqCmdnNl3DlXtpxxn eG2abV8WdosKfkzykygAxbo05sra1inEPAHosFLP0LyM7t4/zBkAjJPFvlbXPBdfwY25 gOyMqbIkgRg+4VGW+IzjuvLi6nJaW9FH/13EB25QiFRums7ElAwUyuiChzaNFn71jxbF YjibnqFZ+NQp1C0XANNNRdZ20liBnZDKK3sGBsGnvuaWb6uQrL2whMXyyvY74HGUHi9q F2s9+xjst8KCtodY0nrpCc/E3YPHBVXQhImpNAE4m/U31udKU9X9/mqoRK+6jan/gMGq iY0w== X-Gm-Message-State: AOAM531+g2nn8Mhs/VfTYBn1kq/C33ct0OE0pSH/XA7gK5M4sfkCHuy0 HEwNJUzbKJG9N9lLlRvQWtEx/pdXAmuLiw== X-Google-Smtp-Source: ABdhPJwQ1AE8XTJpCr3JeoCqxsv9StE9TXG3thcZ1h0je49ReN5zEsvtVqXsVqyyi/qLMcQS6lB2Cg== X-Received: by 2002:a05:6e02:1b8e:b0:2c7:9886:ffe4 with SMTP id h14-20020a056e021b8e00b002c79886ffe4mr7032479ili.248.1647266589183; Mon, 14 Mar 2022 07:03:09 -0700 (PDT) Received: from murgatroyd.Home (71-211-175-224.hlrn.qwest.net. [71.211.175.224]) by smtp.gmail.com with ESMTPSA id k15-20020a92c24f000000b002c79ec214f9sm2040000ilo.30.2022.03.14.07.03.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 07:03:08 -0700 (PDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH] Remove "Ada Settings" node from the manual Date: Mon, 14 Mar 2022 08:03:07 -0600 Message-Id: <20220314140307.838441-1-tromey@adacore.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-List-Received-Date: Mon, 14 Mar 2022 14:03:16 -0000 A while back, I sent a patch to unify the Ada varsize-limit setting with the more generic max-value-size: https://sourceware.org/pipermail/gdb-patches/2021-September/182004.html However, it turns out I somehow neglected to send part of the patch. Internally, I also removed the "Ada Settings" node from the manual, as it only documents the obsolete setting. This patch removes this text. --- gdb/doc/gdb.texinfo | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index d216fa1d529..1c0e89fc234 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -18014,7 +18014,6 @@ to be difficult. * Ada Tasks and Core Files:: Tasking Support when Debugging Core Files * Ravenscar Profile:: Tasking Support when using the Ravenscar Profile -* Ada Settings:: New settable GDB parameters for Ada. * Ada Source Character Set:: Character set of Ada source files. * Ada Glitches:: Known peculiarities of Ada mode. @end menu @@ -18751,37 +18750,6 @@ it isn't currently possible to single-step through the runtime initialization sequence. If you need to debug this code, you should use @code{set ravenscar task-switching off}. -@node Ada Settings -@subsubsection Ada Settings -@cindex Ada settings - -@table @code -@kindex set varsize-limit -@item set varsize-limit @var{size} -Prevent @value{GDBN} from attempting to evaluate objects whose size -is above the given limit (@var{size}) when those sizes are computed -from run-time quantities. This is typically the case when the object -has a variable size, such as an array whose bounds are not known at -compile time for example. Setting @var{size} to @code{unlimited} -removes the size limitation. By default, the limit is about 65KB. - -The purpose of having such a limit is to prevent @value{GDBN} from -trying to grab enormous chunks of virtual memory when asked to evaluate -a quantity whose bounds have been corrupted or have not yet been fully -initialized. The limit applies to the results of some subexpressions -as well as to complete expressions. For example, an expression denoting -a simple integer component, such as @code{x.y.z}, may fail if the size of -@code{x.y} is variable and exceeds @code{size}. On the other hand, -@value{GDBN} is sometimes clever; the expression @code{A(i)}, where -@code{A} is an array variable with non-constant size, will generally -succeed regardless of the bounds on @code{A}, as long as the component -size is less than @var{size}. - -@kindex show varsize-limit -@item show varsize-limit -Show the limit on types whose size is determined by run-time quantities. -@end table - @node Ada Source Character Set @subsubsection Ada Source Character Set @cindex Ada, source character set -- 2.34.1