target-mips: Make CP1.FIR read-only here too
CP1.FIR is read-only in hardware so gdbstub must respect it. We already respect it for CTC1 instructions, so do it here too. Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com> Reviewed-by: Leon Alrae <leon.alrae@imgtec.com> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
This commit is contained in:
parent
800675f117
commit
c7d4d98ae7
@ -105,7 +105,7 @@ int mips_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n)
|
||||
RESTORE_ROUNDING_MODE;
|
||||
break;
|
||||
case 71:
|
||||
env->active_fpu.fcr0 = tmp;
|
||||
/* FIR is read-only. Ignore writes. */
|
||||
break;
|
||||
}
|
||||
return sizeof(target_ulong);
|
||||
|
Loading…
Reference in New Issue
Block a user