]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[Morello] Unwinding: Restore CLR and PCC properly
authorLuis Machado <luis.machado@arm.com>
Fri, 9 Oct 2020 16:50:17 +0000 (13:50 -0300)
committerLuis Machado <luis.machado@linaro.org>
Tue, 20 Oct 2020 18:06:50 +0000 (15:06 -0300)
commit9e9a064bf40f7e1ecbafd9fd0ad3edef3d11c4d5
treef3bfbb11d78f388ed7868bd38f6063c1ac302100
parente862249e6e577e51760de25a722271e3537c8cfe
[Morello] Unwinding: Restore CLR and PCC properly

This patch teaches GDB how to handle restoring CLR and PCC values properly.

gdb/ChangeLog:

2020-10-20  Luis Machado  <luis.machado@arm.com>

* aarch64-tdep.c (aarch64_prologue_prev_register): Use LR or CLR
depending on the request.
(aarch64_dwarf_reg_to_regnum): Redirect CLR to LR temporarily.
* aarch64-tdep.h (AARCH64_DWARF_CLR): New constant.
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/aarch64-tdep.h