RISC-V: Support the ISA-dependent CSR checking.
[deliverable/binutils-gdb.git] / gdb / riscv-tdep.h
index aaed33ceb99b0108bcf02cf125fb7e5e0420f0d9..90bae0810a85a46d0ca1071acb439890ba7050ab 100644 (file)
@@ -44,7 +44,7 @@ enum
   RISCV_LAST_FP_REGNUM = 64,   /* Last Floating Point Register */
 
   RISCV_FIRST_CSR_REGNUM = 65,  /* First CSR */
-#define DECLARE_CSR(name, num) \
+#define DECLARE_CSR(name, num, class) \
   RISCV_ ## num ## _REGNUM = RISCV_FIRST_CSR_REGNUM + num,
 #include "opcode/riscv-opc.h"
 #undef DECLARE_CSR
This page took 0.024568 seconds and 4 git commands to generate.