riscv_read_by_any_size()
is redundant
#1205
Labels
Good First Issue
This label marks the first good issue for anyone willing to contribute to the project.
riscv_read_by_any_size()
is used to try all available sizes when reading memory:riscv-openocd/src/target/riscv/riscv.c
Lines 1392 to 1397 in eb9ba21
riscv_read_by_any_size()
is currently used inriscv_semihosting()
and inriscv_add_breakpoint()
to read instructions.There is also
target_read_buffer()
. It provides the same interface.Seems like
riscv_read_by_any_size()
should be the implementation oftarget_read_buffer()
(currentlytarget_read_buffer_default()
is used).The text was updated successfully, but these errors were encountered: