summaryrefslogtreecommitdiffstats
path: root/cpus.c
diff options
context:
space:
mode:
authorAurelien Jarno2012-10-06 18:54:46 +0200
committerAurelien Jarno2012-10-06 18:54:46 +0200
commit046dbab95f33e007428190610d638d2fcaf37fdf (patch)
tree6110b604ea1eaa50406e5ece905cfa0700110d31 /cpus.c
parentMerge branch 'trivial-patches' of git://github.com/stefanha/qemu (diff)
parenttarget-arm: Drop unused DECODE_CPREG_CRN macro (diff)
downloadqemu-046dbab95f33e007428190610d638d2fcaf37fdf.tar.gz
qemu-046dbab95f33e007428190610d638d2fcaf37fdf.tar.xz
qemu-046dbab95f33e007428190610d638d2fcaf37fdf.zip
Merge branch 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm
* 'target-arm.for-upstream' of git://git.linaro.org/people/pmaydell/qemu-arm: target-arm: Drop unused DECODE_CPREG_CRN macro target-arm: use deposit instead of hardcoded version target-arm: mark a few integer helpers const and pure target-arm: convert sar, shl and shr helpers to TCG target-arm: convert add_cc and sub_cc helpers to TCG target-arm: use globals for CC flags target-arm: Reinstate display of VFP registers in cpu_dump_state cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to generic
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpus.c b/cpus.c
index 1d5d4904cc..750a76fbc8 100644
--- a/cpus.c
+++ b/cpus.c
@@ -395,11 +395,7 @@ void hw_error(const char *fmt, ...)
fprintf(stderr, "\n");
for(env = first_cpu; env != NULL; env = env->next_cpu) {
fprintf(stderr, "CPU #%d:\n", env->cpu_index);
-#ifdef TARGET_I386
- cpu_dump_state(env, stderr, fprintf, X86_DUMP_FPU);
-#else
- cpu_dump_state(env, stderr, fprintf, 0);
-#endif
+ cpu_dump_state(env, stderr, fprintf, CPU_DUMP_FPU);
}
va_end(ap);
abort();