]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use CLR DWARF register and PCC/CSP
authorLuis Machado <luis.machado@arm.com>
Fri, 6 Nov 2020 01:50:42 +0000 (22:50 -0300)
committerLuis Machado <luis.machado@linaro.org>
Tue, 8 Dec 2020 18:02:58 +0000 (15:02 -0300)
commitc03396afe61f5e01f07287a1c7dcb6effab2bb0d
treeaf1f75fbd281b924bcc5edf8eda97dfc79997fa1
parent6dca761652d22fb4be4926963f9eb73a2e38533a
Use CLR DWARF register and PCC/CSP

Remove code to return LR for a CLR DWARF register.

For the pure capability ABI, set pc to PCC and sp to CSP.

gdb/ChangeLog:

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

* aarch64-tdep.c (aarch64_dwarf_reg_to_regnum): Don't return LR
for CLR.
(aarch64_gdbarch_init): Set pc to PCC and sp to CSP for pure cap
ABI.
gdb/ChangeLog
gdb/aarch64-tdep.c