This is a small cleanup patchset which moves some cpu_dump_state flags from being x86 only to being generic, since the extra info they ask for is not particularly x86 specific (many of our target architectures have an fpu, and similarly several implement the TCG condition-code optimisation). This allows us to remove some ugly TARGET_I386 ifdefs from target-independent code.
I've also implemented the DUMP_FPU flag for ARM, by reinstating (somewhat modified) some code which had been #if'd out for years. There should be no behaviour change for other architectures. Peter Maydell (2): cpu_dump_state: move DUMP_FPU and DUMP_CCOP flags from x86-only to generic target-arm: Reinstate display of VFP registers in cpu_dump_state cpu-all.h | 3 +++ cpu-exec.c | 2 +- cpus.c | 6 +----- exec.c | 12 ++---------- monitor.c | 8 +------- target-arm/translate.c | 42 ++++++++++++++++-------------------------- target-i386/cpu.c | 2 +- target-i386/cpu.h | 4 ---- target-i386/helper.c | 4 ++-- target-i386/seg_helper.c | 4 ++-- target-i386/smm_helper.c | 4 ++-- 11 files changed, 31 insertions(+), 60 deletions(-) -- 1.7.9.5