This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]