]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[Morello] Add set/show ABI command for AArch64
authorLuis Machado <luis.machado@arm.com>
Fri, 17 Jul 2020 20:40:44 +0000 (17:40 -0300)
committerLuis Machado <luis.machado@linaro.org>
Tue, 20 Oct 2020 18:05:39 +0000 (15:05 -0300)
commitfeae0585b51a6524500d60036f58a945e4c19c6f
tree9a9f1d0ad2653e1e6c3fd9e15cfde28cc094d470
parent5052b3e23372274399e1e56870c78eaa14172d7f
[Morello] Add set/show ABI command for AArch64

Add a new command for developers to set and show the AArch64 ABI GDB is
using at the moment.

We define 2 ABI's: AAPCS64 and AAPCS64-cap.

Each of these ABI's should impact the architecture setup in different ways.

gdb/ChangeLog:

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

* aarch64-tdep.c (set_aarch64_cmdlist, show_aarch64_cmdlist,
aarch64_abi_strings, aarch64_current_abi_global)
(aarch64_current_abi_string): New static globals.
(aarch64_update_current_architecture, aarch64_set_abi)
(aarch64_show_abi): New functions.
(aarch64_gdbarch_init): Handle ABI identification.
(_initialize_aarch64_tdep): Add new ABI commands.
* aarch64-tdep.h (aarch64_abi_kind): New enum.
(struct gdbarch_tdep) <abi>: New field.
gdb/ChangeLog
gdb/aarch64-tdep.c
gdb/aarch64-tdep.h