From patchwork Wed May 31 14:29:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 70389 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 DEC9C3858291 for ; Wed, 31 May 2023 14:29:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEC9C3858291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685543389; bh=kiwNAxKvvrWhWCEp2z7H3566BZYjZvmGRhIX99YDszo=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=VQ3AGkegu9lSJLsUEukQ9ZqAPpa6pcyVR3IER6FFGnxHAmHi047luzfSwWDqIjuka biOkjR8o22noIz5CcDOg1ihiggR7pRJHNKm2onoGHDjFXP0N5zDrpKlWdeBAWFQVpw ca5Lmr9Ta4ZKprWvyAknCr3naVSX4dQaD4UbYrms= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by sourceware.org (Postfix) with ESMTPS id E30663858D20 for ; Wed, 31 May 2023 14:29:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E30663858D20 Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-77700e9aae3so28613639f.0 for ; Wed, 31 May 2023 07:29:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685543362; x=1688135362; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kiwNAxKvvrWhWCEp2z7H3566BZYjZvmGRhIX99YDszo=; b=AWCZLv3Uo12wj7cubPnWe6WmAif2VuL+Hh98bdpBY9JV8JIUT78xrzBryNfuu/58eV 1bJEilWyQp2hS2vGVP/r2Aya+QmMlRzGpIb3tpwBDUkpYcMVaMoJAs+cKT8/Ft0qL73s gb/fzpy3xBPR7uK05HYOJzICOvylv7kMNujxTR3XfyJepYQDU12eMBgeTVr9eM0Ak8HM WbUVgMm2JXKS/IGTA+rkFD452CtdOL+eui43bKRQb/RBtvKDSOe4mGKEW+8hzcouN0eh RUKPzv5DNKUyhw1ebCKBr+Kbj+EhhczqpZk4xSi+lzjZgRtztjdcD2wE+YxO2OVGtKgp 7Vbg== X-Gm-Message-State: AC+VfDwKdl/xh8od4QHKKsDUNaoYa5hVcMV62t0bERRVMkrEQ8bVSGGx QCxyhjFg9/k/vNhBnT/p8ZRy4N73CtUY7oWR5XQadQ== X-Google-Smtp-Source: ACHHUZ6KsDPHunj5mBArrONRS35hGHlOW45VJBoDJCttRJAlCE4I1QqSTfNDHw5VKj7yiP8NNpAhzw== X-Received: by 2002:a05:6602:15d0:b0:774:8b34:df5d with SMTP id f16-20020a05660215d000b007748b34df5dmr11464715iow.0.1685543362115; Wed, 31 May 2023 07:29:22 -0700 (PDT) Received: from localhost.localdomain (71-211-130-244.hlrn.qwest.net. [71.211.130.244]) by smtp.gmail.com with ESMTPSA id d8-20020a026048000000b00405f36ed05asm1440071jaf.55.2023.05.31.07.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 07:29:21 -0700 (PDT) To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [pushed] Pass correct name to @value in gdb.texinfo Date: Wed, 31 May 2023 08:29:11 -0600 Message-Id: <20230531142911.3478627-1-tromey@adacore.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.8 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.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: Tom Tromey via Gdb-patches From: Tom Tromey Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" I noticed a couple instance of this warning when rebuilding the gdb info files: warning: undefined flag: GDB The problem is that the wrong argument was passed to @value. This patch fixes the problem. --- gdb/doc/gdb.texinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 4bc83ed2168..a179af77224 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -5972,8 +5972,8 @@ Handle the output by calling a function in your program (normally @code{printf}). When using this style the supported format specifiers depend entirely on the function being called. -Most of @value{GDB}'s format specifiers align with those supported by -the @code{printf} function, however, @value{GDB}'s @samp{%V} format +Most of @value{GDBN}'s format specifiers align with those supported by +the @code{printf} function, however, @value{GDBN}'s @samp{%V} format specifier extension is not supported by @code{printf}. When using @samp{call} style dprintf, care should be taken to ensure that only format specifiers supported by the output function are used, otherwise