diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-02-15 16:07:48 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-03-05 17:21:41 +0000 |
commit | d782d24b3297d0eebdc3c823bd41993e5d670c88 (patch) | |
tree | 0c294480083a2cfa40cc2770432beef83bf0150a /missing | |
parent | db6092f3aec43ea4d10efc5ff74274f04cdc0ad6 (diff) | |
download | binutils-d782d24b3297d0eebdc3c823bd41993e5d670c88.zip binutils-d782d24b3297d0eebdc3c823bd41993e5d670c88.tar.gz binutils-d782d24b3297d0eebdc3c823bd41993e5d670c88.tar.bz2 |
gdb/riscv: make riscv target description names global
A later commit will need the names of the RISC-V target description
features in files other than riscv-tdep.c. This commit just makes the
names global strings that can be accessed from other riscv-*.c files.
There should be no user visible changes after this commit.
gdb/ChangeLog:
* riscv-tdep.c (riscv_feature_name_csr): Define.
(riscv_feature_name_cpu): Define.
(riscv_feature_name_fpu): Define.
(riscv_feature_name_virtual): Define.
(riscv_xreg_feature): Use riscv_feature_name_cpu.
(riscv_freg_feature): Use riscv_feature_name_fpu.
(riscv_virtual_feature): Use riscv_feature_name_virtual.
(riscv_csr_feature): Use riscv_feature_name_csr.
* riscv-tdep.h (riscv_feature_name_csr): Declare.
Diffstat (limited to 'missing')
0 files changed, 0 insertions, 0 deletions