Don't re-read registers after they're written
This was just a sanity check.
This commit is contained in:
parent
9d308db2bc
commit
e31761df64
|
@ -551,14 +551,6 @@ static int register_write_direct(struct target *target, unsigned number,
|
|||
return exec_out;
|
||||
}
|
||||
|
||||
assert(GDB_REGNO_XPR0 == 0);
|
||||
if (number <= GDB_REGNO_XPR31) {
|
||||
uint64_t written_value;
|
||||
register_read_direct(target, &written_value, number);
|
||||
LOG_DEBUG("attempted to write 0x%016lx, actually wrote 0x%016lx", value, written_value);
|
||||
assert(value == written_value);
|
||||
}
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue