summaryrefslogtreecommitdiff
path: root/target-i386/gdbstub.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-03-04 15:53:00 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-03-04 15:53:01 +0000
commit4fd42afe6117ab16dc5e2e7216cced8010afc1d1 (patch)
tree21ebe55212a8b9a769612d5194ff6948c0261704 /target-i386/gdbstub.c
parentc2cb92f9ea3c88acde6a8cb75abc148dfe27aee7 (diff)
parentcb48da7f8140b5cbb648d990876720da9cd04d8f (diff)
downloadqemu-4fd42afe6117ab16dc5e2e7216cced8010afc1d1.tar.gz
Merge remote-tracking branch 'remotes/rth/i386-fix' into staging
* remotes/rth/i386-fix: target-i386: Fix ucomis and comis memory access target-i386: Fix SSE status flag corruption target-i386: Fix CC_OP_CLR vs PF Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
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;
}
}