This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH v3 0/4] RISC-V: Support more rigorous check for CSR, and update them to spec 1.12.
- From: Nelson Chu <nelson dot chu at sifive dot com>
- To: binutils at sourceware dot org
- Date: Sun, 15 Dec 2019 21:21:37 -0800
- Subject: [PATCH v3 0/4] RISC-V: Support more rigorous check for CSR, and update them to spec 1.12.
Dear Palmer,
I'm on the master branch, but failed to notice that my internal build environment
add the --disable-gdb configure option to disable the GDB build. I'm really sorry
for this. After attaching the v3 patches, I can build riscv-gdb now. However,
the csr checking only work for the assembler so far. I extend the DECLARE_CSR
to record more informaton (`class`), but these information are unused in GDB.
Therefore, I just fix the GDB build failed by allowing more arguments for
DECLARE_CSR.
Thanks and best regards
Nelson
Fix the build failed for GDB.
* [PATCH v3 1/4] RISC-V: Update the CSR to privilege spec 1.12.
Same as the previous one.
* [PATCH v3 2/4] RISC-V: Support the ISA-dependent CSR checking.
Upadte the gdb/riscv-tdep.h and gdb/riscv-tdep.c since the DECLARE_CSR is changed.
* [PATCH v3 3/4] RISC-V: Support the read-only CSR checking.
Same as the previous one.
* [PATCH v3 4/4] RISC-V: Disable the CSR checking by default.
Same as the previous one.