Add keepalive for vector register access. (#611)
(And whatever else does a lot of register writes.) Change-Id: I86a1a784fb7b9430aa470dbb39a495b89f56d8c9 Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
parent
e986ec1827
commit
19f7b5c43c
|
@ -1307,6 +1307,8 @@ static int register_write_direct(struct target *target, unsigned number,
|
|||
LOG_DEBUG("{%d} %s <- 0x%" PRIx64, riscv_current_hartid(target),
|
||||
gdb_regno_name(number), value);
|
||||
|
||||
keep_alive();
|
||||
|
||||
int result = register_write_abstract(target, number, value,
|
||||
register_size(target, number));
|
||||
if (result == ERROR_OK || !has_sufficient_progbuf(target, 2) ||
|
||||
|
|
Loading…
Reference in New Issue