Revision | f29c0b170fa9e0568f2d02e764e18b00cad3a27f (tree) |
---|---|
Time | 2018-05-19 06:52:38 |
Author | Richard Henderson <richard.henderson@lina...> |
Commiter | Richard Henderson |
target/xtensa: Honor CPU_DUMP_FPU
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
@@ -1243,7 +1243,8 @@ void xtensa_cpu_dump_state(CPUState *cs, FILE *f, | ||
1243 | 1243 | } |
1244 | 1244 | } |
1245 | 1245 | |
1246 | - if (xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { | |
1246 | + if ((flags & CPU_DUMP_FPU) && | |
1247 | + xtensa_option_enabled(env->config, XTENSA_OPTION_FP_COPROCESSOR)) { | |
1247 | 1248 | cpu_fprintf(f, "\n"); |
1248 | 1249 | |
1249 | 1250 | for (i = 0; i < 16; ++i) { |