target, flash: utility for riscv repeat_read command
Imported non-riscv part from https://github.com/riscv-collab/riscv-openocd/pull/510 developed by Tim Newsome <tim@sifive.com> Introduce target_handle_md_output() parameter include_address. All callers set it true but riscv repeat_read command. Change-Id: I67b5aad15a33ad149d4047998b22407cb60098fd Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/9127 Tested-by: jenkins Reviewed-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
This commit is contained in:
@@ -5231,7 +5231,7 @@ COMMAND_HANDLER(handle_repeat_read)
|
||||
};
|
||||
int result = r->access_memory(target, args);
|
||||
if (result == ERROR_OK)
|
||||
target_handle_md_output(cmd, target, address, size, count, buffer);
|
||||
target_handle_md_output(cmd, target, address, size, count, buffer, false);
|
||||
free(buffer);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user