target create $_TARGETNAME riscv -chain-position $_TARGETNAME
gdb_report_data_abort enable
+gdb_report_register_access_error enable
# Expose an unimplemented CSR so we can test non-existent register access
# behavior.
riscv expose_csrs 2288
+riscv expose_custom 1,12345-12348
init