[ARM] Refactor some constants
authorLuis Machado <luis.machado@linaro.org>
Tue, 27 Jul 2021 14:36:33 +0000 (11:36 -0300)
committerLuis Machado <luis.machado@linaro.org>
Mon, 11 Oct 2021 19:03:44 +0000 (16:03 -0300)
commit4d224f4a589689449677e9c500cf12bee8283a3b
tree6c9b9cfef45c24e58af8721a7f966dd2512a5520
parentc8ed8c8ac380813b3a5d47131ccad1f79305c16b
[ARM] Refactor some constants

In preparation for the MVE extension patch, this one refactors some of
the register-related constants we have for ARM.

Basically I'm separating counting constants from numbering constants.

For example, ARM_A1_REGNUM is a numbering constant, whereas ARM_NUM_ARG_REGS
is a counting constant.
gdb/arch/arm.h