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] Remove MAX_REGISTER_SIZE from remote-sim.c


Alan Hayward <Alan.Hayward@arm.com> writes:

Patch is good to me.

>  	if (nr_bytes > 0
> -	    && nr_bytes != register_size (gdbarch, regno) && warn_user)
> +	    && nr_bytes != regsize && warn_user)
>  	  {

A nit, can you put them in a single line?

-- 
Yao (齐尧)


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