From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SykC2-0000MH-Dw for qemu-devel@nongnu.org; Tue, 07 Aug 2012 09:51:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SykBr-0001hX-Jw for qemu-devel@nongnu.org; Tue, 07 Aug 2012 09:51:30 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:56868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SykBr-0001hO-DS for qemu-devel@nongnu.org; Tue, 07 Aug 2012 09:51:19 -0400 From: Peter Maydell Date: Tue, 7 Aug 2012 14:51:14 +0100 Message-Id: <1344347476-19613-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/2] clean up cpu_dump_state flags List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org 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