[PATCH] amd64: remove additional comparison for validity of a register number.

Pedro Alves palves@redhat.com
Wed Jan 25 15:05:00 GMT 2017


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



More information about the Gdb-patches mailing list