[PATCH] Change len's type to ULONGEST: remote_write_bytes_aux
Pedro Alves
palves@redhat.com
Thu Jan 23 14:37:00 GMT 2014
On 01/22/2014 12:56 PM, Yao Qi wrote:
> AFAICS, the target layer is a boundary. In one side, we pass size_t
> or ssize_t to target related APIs, and in the other side, the
> implementation side, we used LONGEST (ULONGEST in latest code) because
> of to_xfer_partial.
>
> Since remote_write_bytes_aux and remote_write_bytes belong to the
> implementation of remote target, we should use ULONGEST for len, IMO.
>
> Regression tested on x86_64-linux. Is it OK?
This is fine with me.
--
Pedro Alves
More information about the Gdb-patches
mailing list