Revert "gdb: Do not print empty-group regs when printing general ones"
authorLuis Machado <luis.machado@linaro.org>
Wed, 4 Mar 2020 16:08:13 +0000 (13:08 -0300)
committerLuis Machado <luis.machado@linaro.org>
Wed, 4 Mar 2020 16:12:17 +0000 (13:12 -0300)
commit440cf44eb0f70830b8d8ac35289f84129c7a35c1
treea9b87cebe881a6aa2abadb66b1f1a25a328a40e3
parent0bab6cf11655d310690e48d7c07b4aa28a87026d
Revert "gdb: Do not print empty-group regs when printing general ones"

Revert the change since it breaks existing behavior of "info registers"
for some architectures. At least AArch64 and ARM are impacted by this change.

gdb/ChangeLog:

2020-03-04  Luis Machado  <luis.machado@linaro.org>

Revert aa66aac47b4dd38f9524ddb5546c08cc09930d37 due to regressions
in "info registers" for AArch64/ARM.

The change caused "info registers" to not print GPR's.

gdb/ChangeLog:

2020-02-01  Shahab Vahedi  <shahab@synopsys.com>

* target-descriptions.c (tdesc_register_in_reggroup_p): Return 0
when reg->group is empty and reggroup is not.
gdb/ChangeLog
gdb/target-descriptions.c