]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Support assignment of capabilities to C registers
authorLuis Machado <luis.machado@linaro.org>
Wed, 29 Dec 2021 11:20:53 +0000 (08:20 -0300)
committerLuis Machado <luis.machado@linaro.org>
Fri, 14 Jan 2022 14:30:12 +0000 (11:30 -0300)
commite3636ab1e171a27bb7b45734fdb45a4f7e3e8bc9
treee1dff034d5d83b703b726accbf031f6a327f770c
parent4e67f2c4c0cb2b4dce4af638ff719585920ecf0b
Support assignment of capabilities to C registers

Enable assignment of capabilities to C registers while preserving
the capability tag. This enables operations like the following:

set $c0=$c1
set $c0=p, where "p" is a capability (pointer) in AARCH64-CAP

Due to the X/C register overlap, we also force a re-read of register
data after every register write. So any 'G' packets are immediately
followed by a 'g' packet.
gdb/aarch64-linux-tdep.c
gdb/aarch64-tdep.c
gdb/arch-utils.c
gdb/arch-utils.h
gdb/frame.c
gdb/frame.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/remote.c
gdb/valops.c