Fix cut and paste bug.

Change-Id: I1c554cbe3d7cb7845bc62f14ae6b8dff107eb192
sba_tests
Tim Newsome 2018-01-31 16:45:33 -08:00
parent bb2c25c5ce
commit 7114ef485c
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ static int register_read_abstract(struct target *target, uint64_t *value,
RISCV013_INFO(info);
if (number >= GDB_REGNO_FPR0 && number <= GDB_REGNO_FPR31 &&
!info->abstract_write_fpr_supported)
!info->abstract_read_fpr_supported)
return ERROR_FAIL;
if (number >= GDB_REGNO_CSR0 && number <= GDB_REGNO_CSR4095 &&
!info->abstract_read_csr_supported)