From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by sourceware.org (Postfix) with ESMTPS id 7A4133858401 for ; Mon, 15 Aug 2022 18:50:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7A4133858401 Received: by mail-il1-x12c.google.com with SMTP id g18so4234444ilk.4 for ; Mon, 15 Aug 2022 11:50:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=mGg4ocVEOAM2ulEZ6y5cNejGajM+cnJSK8WXgLxw3us=; b=8Cm0Py+84UI7/n4UILlT3YjZJm7IpqZySgjVXwkAPCuSyW30RKn1UsFytjtK1k/3P+ NNCI7o6ZdHmC0q0aU5xadQ+4KFSEdfHyRiqOOTJDh2Mo08uvpNaHD8U0o6dVAB86FxWs ePR+GPHVA/9NqUtazg2BNjJoaS+OcvoApNXcu29BvKPwovzLjIoN/1aVjJPmtkZ2z+f0 DxYP6SdO1iAtk9jn1wjyiglaE2X/r+4IHi9zbJ04b8rvS9CtDg+6OMyMwou8R1o81D92 kH3dV4YKlOYFmoJQr+opTM5BNj3dfFTO2EzItOIjUphwvfrX+2PiMs5eYP7y+5fiKv9R nDaA== X-Gm-Message-State: ACgBeo0T3uExSUC/oRv7t+U+XyWQ1muOVuDUG54GtudQYjzMRW0a6j2k CsPtSvHPaFX9MvtDDn4OggiThaMAl8moKA== X-Google-Smtp-Source: AA6agR5AF+0FbNyrMHW116BfyJRus7x0nOPGfs2V5mhFFkiCB2KYBAV9BQW7tf3MnerAnWx41d8hpw== X-Received: by 2002:a92:cac2:0:b0:2de:7068:876e with SMTP id m2-20020a92cac2000000b002de7068876emr7982005ilq.76.1660589411782; Mon, 15 Aug 2022 11:50:11 -0700 (PDT) Received: from murgatroyd.Home (71-211-185-228.hlrn.qwest.net. [71.211.185.228]) by smtp.gmail.com with ESMTPSA id f92-20020a0284e5000000b003434ba08e11sm3579728jai.115.2022.08.15.11.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 11:50:11 -0700 (PDT) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 1/2] Fix gdb.flush documentation Date: Mon, 15 Aug 2022 12:50:08 -0600 Message-Id: <20220815185009.1288079-2-tromey@adacore.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220815185009.1288079-1-tromey@adacore.com> References: <20220815185009.1288079-1-tromey@adacore.com> 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.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-List-Received-Date: Mon, 15 Aug 2022 18:50:14 -0000 The gdb.flush documentation does not mention the 'stream' argument in the function signature, only in the description. This patch fixes the oversight. --- gdb/doc/python.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index 9a823409854..7aa9e853d85 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -511,7 +511,7 @@ relevant stream. @end defun @findex gdb.flush -@defun gdb.flush () +@defun gdb.flush (@r{[}, stream@r{]}) Flush the buffer of a @value{GDBN} paginated stream so that the contents are displayed immediately. @value{GDBN} will flush the contents of a stream automatically when it encounters a newline in the -- 2.34.1