[PATCH v3 0/4] RISC-V: Support more rigorous check for CSR, and update them to spec 1.12.

Nelson Chu nelson.chu@sifive.com
Mon Dec 16 05:21:00 GMT 2019


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.



More information about the Binutils mailing list