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 v2] inf-ptrace: Do not stop memory transfers after a single word


On 03/14/2017 03:44 PM, Andreas Arnez wrote:
> Version 1 is here:
> 
>   https://sourceware.org/ml/gdb-patches/2017-03/msg00043.html
> 
> Changes from version 1:
> 
> * "unsigned" -> "unsigned int"
> 
> * Compare pointers with NULL explicitly.

Pedantically, it should be "if (errno != 0)" and
"*xfered_len != 0 ? ...."  as well.

> 
> * Move the ptrace peek/poke loop to a separate routine for better
>   readability.
> 
> OK to apply?

LGTM.

Thanks,
Pedro Alves


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