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] amd64: remove additional comparison for validity of a register number.


On 01/25/2017 10:13 AM, Walfred Tedeschi wrote:
> Second part of the && is already guaranteed in the "regnum < num_regs"
> due to comparison above.
> 
> 2017-01-24  Walfred Tedeschi		<walfred.tedeschi@intel.com>

Spaces around the name, not tabs.

> 
> 	* amd64-nat.c (amd64_native_gregset_reg_offset): Simplify logic
> 	that checks validity of a register number.

OK.

Thanks,
Pedro Alves


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