Re: [PATCH 3/3 v3] Implement vFile:fstat: packet in gdbserver

Pedro Alves
2015-03-11T13:53:07Z

On 03/11/2015 01:39 PM, Gary Benson wrote:
> This patch adds a new packet "vFile:fstat:" to gdbserver.
> This can be used by clients to retrieve information about
> open files.

Should now say something like:

This patch implement support for "vFile:fstat:" in gdbserver.

> + /* If the response does not fit into a single packet, do not attempt
> + to return a partial response, but simply fail. */
> + if (bytes_sent < sizeof (fst))
> + strcpy (own_buf, "E01");

Simply use write_enn.

OK with these changes.

Thanks,
Pedro Alves