OSDN Git Service

tcg: Optionally log FPU state in TCG -d cpu logging
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 May 2018 13:58:44 +0000 (14:58 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 May 2018 13:58:44 +0000 (14:58 +0100)
commitae7651804748c6b479d5ae09aeac4edb9c44f76e
treec68f377430d1a11d50bf05d62c494c7cc0ff47a7
parentf6fb1f9b319feac09119848d206b07640ddd39e7
tcg: Optionally log FPU state in TCG -d cpu logging

Usually the logging of the CPU state produced by -d cpu is sufficient
to diagnose problems, but sometimes you want to see the state of
the floating point registers as well. We don't want to enable that
by default as it adds a lot of extra data to the log; instead,
allow it to be optionally enabled via -d fpu.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180510130024.31678-1-peter.maydell@linaro.org
accel/tcg/cpu-exec.c
include/qemu/log.h
util/log.c