]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[General] Add capability casts to scalar types
authorLuis Machado <luis.machado@arm.com>
Wed, 9 Sep 2020 21:30:10 +0000 (18:30 -0300)
committerLuis Machado <luis.machado@linaro.org>
Tue, 20 Oct 2020 18:05:51 +0000 (15:05 -0300)
commitbf9797c112471187381891940bc36370589c096c
tree079e78741a7b51cf27ba6ff5648de6ad98686c2c
parent3ee5808b7c895fca48985162c25a37f16c2930ff
[General] Add capability casts to scalar types

Add support for casting capabilities to scalar types. We basically truncate
the capability to the size of the target type.

gdb/ChangeLog:

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

* valops.c (value_cast): Cast from capability to scalar types.
gdb/ChangeLog
gdb/valops.c