This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Remote file transfer support
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 30 Nov 2007 23:21:49 +0200
- Subject: Re: [rfc] Remote file transfer support
- References: <20071029203042.GA26597@caradoc.them.org> <u4pg7qaq6.fsf@gnu.org> <20071130183650.GA16197@caradoc.them.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 30 Nov 2007 13:36:50 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sourceware.org
>
> Is this better?
>
> The @dfn{Host I/O} packets allow @value{GDBN} to perform I/O
> operations on the far side of a remote link. For example, Host I/O is
> used to upload and download files to a remote target with its own
> filesystem. Host I/O uses the same constant values and data structure
> layout as the target-initiated File-I/O protocol. However, the
> Host I/O packets are structured differently. The target-initiated
> protocol relies on target memory to store parameters and buffers.
> Host I/O requests are initiated by @value{GDBN}, and the
> target's memory is not involved. @xref{File-I/O Remote Protocol
> Extension}, for more details on the target-initiated protocol.
Yes, thanks.
> Here's my latest patch, which should correct all the problems you
> found. I also fixed cleanup when a write error occurs.
Thanks, the documentation patch is approved.