public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix typo in vFile:pwrite documentation
@ 2019-11-11 19:48 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-11-11 19:48 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fb092e09a21c27cf1d3376de279d1b7e1dabdb3d

commit fb092e09a21c27cf1d3376de279d1b7e1dabdb3d
Author: Tom Tromey <tromey@adacore.com>
Date:   Mon Nov 11 12:45:35 2019 -0700

    Fix typo in vFile:pwrite documentation
    
    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  <tromey@adacore.com>
    
    	* gdb.texinfo (Host I/O Packets): Fix typo in "vFile:pwrite".
    
    Change-Id: I2f668a691eed7883ba6bc092471739f44c82301b

Diff:
---
 gdb/doc/ChangeLog   | 4 ++++
 gdb/doc/gdb.texinfo | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index fec0ebd..dcce6fa 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-11  Tom Tromey  <tromey@adacore.com>
+
+	* gdb.texinfo (Host I/O Packets): Fix typo in "vFile:pwrite".
+
 2019-11-10  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* python.texi (Symbols In Python): Add documentation for
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 70e4be1..e702b29 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-11 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 19:48 [binutils-gdb] Fix typo in vFile:pwrite documentation Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).