aboutsummaryrefslogtreecommitdiff
path: root/contrib/rpc_examples/ocd_rpc_example.py
diff options
context:
space:
mode:
authorParshintsev Anatoly <anatoly.parshintsev@syntacore.com>2024-11-27 21:36:25 +0300
committerParshintsev Anatoly <anatoly.parshintsev@syntacore.com>2024-11-27 22:08:20 +0300
commit109646c09d9a4d9832c0d93eab363f5f276f9df5 (patch)
treef4d7064e48922a67629c064e717a7c06d0793cf8 /contrib/rpc_examples/ocd_rpc_example.py
parenteb1ecd7d10ea8dc01eb4f79f361730bb3f59a1cf (diff)
downloadriscv-openocd-109646c09d9a4d9832c0d93eab363f5f276f9df5.zip
riscv-openocd-109646c09d9a4d9832c0d93eab363f5f276f9df5.tar.gz
riscv-openocd-109646c09d9a4d9832c0d93eab363f5f276f9df5.tar.bz2
fix incorrect parsing of names for custom csr registers
this commit fixes a regression introduced in ba8c1eef5a32193d9b5dc80d681a4f18d1d94f11. The regression was caused by removal of these lines: ``` - /* Register prefix: "csr_" or "custom_" */ - strcpy(name, reg_type); - name[strlen(reg_type)] = '_'; ``` causing all CSR names with custom names to be parsed as empty strings.
Diffstat (limited to 'contrib/rpc_examples/ocd_rpc_example.py')
0 files changed, 0 insertions, 0 deletions