]> 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)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 22:59:24 +0000 (15:59 -0700)
commit871cde60db9c255e1eac162d656ffd492b92b557
treef41530712822adbde5c42d73ebceaeda2745c3ac
parent1372df2e14384c009565e84062430fbb37a2d67e
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-components.py
gdb/gdbarch-gen.h
gdb/gdbarch.c
gdb/remote.c
gdb/valops.c