register_get_by_number() function
@file Holds utilities to work with register caches. OpenOCD uses machine registers internally, and exposes them by name to Tcl scripts. Sets of related registers are grouped into caches. For example, a CPU core will expose a set of registers, and there may be separate registers associated with debug or trace modules.