22.4.10 RISC-V

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

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

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

show riscv numeric-register-names

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