amd64: simplify addition of new general registers.
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Fri, 27 Jan 2017 14:19:13 +0000 (15:19 +0100)
committerWalfred Tedeschi <walfred.tedeschi@intel.com>
Fri, 27 Jan 2017 14:20:13 +0000 (15:20 +0100)
commit8884e97e78f337bccb50df7682333db4e7ee1542
tree909dfe0c81cd2bdca3c16e97b42f58eaeb418232
parent7005d26ac72abbf12e02947ab87dbb3804f326a8
amd64: simplify addition of new general registers.

The purpose of this patch is only simplify the addition of new registers.
ORIG_RAX is kept as last register and any addition is done right before it.

2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>

* amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM):
Set to AMD64_NUM_REGS.
gdb/ChangeLog
gdb/amd64-linux-tdep.h