aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorWalfred Tedeschi <walfred.tedeschi@intel.com>2017-01-27 15:19:12 +0100
committerWalfred Tedeschi <walfred.tedeschi@intel.com>2017-01-27 15:20:12 +0100
commit7005d26ac72abbf12e02947ab87dbb3804f326a8 (patch)
tree8ff4f102d8056f1f2403ff47915c589177d94d9b /gdb/python
parent239b6d10954b18ce089e9c3a667e7f2df3655476 (diff)
downloadbinutils-7005d26ac72abbf12e02947ab87dbb3804f326a8.zip
binutils-7005d26ac72abbf12e02947ab87dbb3804f326a8.tar.gz
binutils-7005d26ac72abbf12e02947ab87dbb3804f326a8.tar.bz2
amd64: remove additional comparison for validity of a register number.
Second part of the && is already guaranteed in the "regnum < num_regs" due to comparison above. 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com> * amd64-nat.c (amd64_native_gregset_reg_offset): Simplify logic that checks validity of a register number.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions