#### 21.4.10 RISC-V ¶

When GDB is debugging a RISC-V architecture, it provides the following special commands:

`set riscv numeric-register-names [on|off]` ¶

  This command controls whether GDB displays RISC-V register names using their numeric or abi names. When ‘`on`’, GDB displays registers by their numeric names (e.g. ‘`x1`’). When ‘`off`’, GDB displays registers by their abi names (e.g. ‘`ra`’). The default is ‘`off`’.

`show riscv numeric-register-names`

  Show whether GDB will refer to registers by their numeric names.