refactor: Adjust expedited registers dynamically
authorLuis Machado <luis.machado@arm.com>
Thu, 9 Feb 2023 10:55:26 +0000 (10:55 +0000)
committerLuis Machado <luis.machado@arm.com>
Wed, 4 Oct 2023 15:23:40 +0000 (16:23 +0100)
commit223dbdd276cf0b223ec96f8896d369af57d7387c
tree329dd4bfdbee68f57a2ce1b80ac6f980e4f9e151
parent6a65998a8a94abaaae7ca4ff0ab9c3f25dc2e766
refactor: Adjust expedited registers dynamically

Instead of using static arrays, build the list of expedited registers
dynamically using a std::vector.

This refactor shouldn't cause any user-visible changes.

Regression-tested for aarch64-linux Ubuntu 22.04/20.04.

Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
gdbserver/linux-aarch64-tdesc.cc