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 target.c


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

Hi Alan,
Patch is good to me, a nit below,

> +      int i, size = register_size (gdbarch, regno);

move "int i" ...

> +      gdb_byte *buf = register_buffer (regcache, regno);
> +
> +      fprintf_unfiltered (gdb_stdlog, " = ");
> +      for (i = 0; i < size; i++)

... here,  for (int i = 0; ....

-- 
Yao (齐尧)


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