summaryrefslogtreecommitdiffstats
path: root/target-i386/gdbstub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/gdbstub.c')
-rw-r--r--target-i386/gdbstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/gdbstub.c b/target-i386/gdbstub.c
index 15bebeff89..d34e5355f7 100644
--- a/target-i386/gdbstub.c
+++ b/target-i386/gdbstub.c
@@ -222,7 +222,7 @@ int x86_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n)
return 4;
case IDX_MXCSR_REG:
- env->mxcsr = ldl_p(mem_buf);
+ cpu_set_mxcsr(env, ldl_p(mem_buf));
return 4;
}
}