From patchwork Mon Nov 11 19:48:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 35801 Received: (qmail 76294 invoked by alias); 11 Nov 2019 19:48:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 76021 invoked by uid 89); 11 Nov 2019 19:48:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-23.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1202, HContent-Transfer-Encoding:8bit X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Nov 2019 19:48:29 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 7F4375605A; Mon, 11 Nov 2019 14:48:22 -0500 (EST) 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 pyRN2+Q0KozL; Mon, 11 Nov 2019 14:48:22 -0500 (EST) Received: from murgatroyd.Home (174-29-59-178.hlrn.qwest.net [174.29.59.178]) (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 2CD1556054; Mon, 11 Nov 2019 14:48:22 -0500 (EST) From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [FYI] Fix typo in vFile:pwrite documentation Date: Mon, 11 Nov 2019 12:48:20 -0700 Message-Id: <20191111194820.19414-1-tromey@adacore.com> MIME-Version: 1.0 A user on irc noticed that the remote protocol documentation mentioned "vFile:write" -- but this is a typo, there is only "vFile:pwrite". This patch fixes the bug. Tested by rebuilding, committing as obvious. gdb/doc/ChangeLog 2019-11-11 Tom Tromey * gdb.texinfo (Host I/O Packets): Fix typo in "vFile:pwrite". Change-Id: I2f668a691eed7883ba6bc092471739f44c82301b --- 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 70e4be15244..e702b29ee17 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -41773,7 +41773,7 @@ Write @var{data} (a binary buffer) to the open file corresponding to @var{fd}. Start the write at @var{offset} from the start of the file. Unlike many @code{write} system calls, there is no separate @var{count} argument; the length of @var{data} in the -packet is used. @samp{vFile:write} returns the number of bytes written, +packet is used. @samp{vFile:pwrite} returns the number of bytes written, which may be shorter than the length of @var{data}, or -1 if an error occurred.