From aec73ba6af62c8da66fb40e015671541708c1723 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 2 Jun 2010 12:58:13 -0500 Subject: ARM: Add a traceflag to print cpsr --- src/arch/arm/isa.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/arch/arm/isa.hh b/src/arch/arm/isa.hh index 8d547f9c6..ded463267 100644 --- a/src/arch/arm/isa.hh +++ b/src/arch/arm/isa.hh @@ -238,6 +238,8 @@ namespace ArmISA if (misc_reg == MISCREG_CPSR) { updateRegMap(val); CPSR cpsr = val; + DPRINTF(Arm, "Updating CPSR to %#x f:%d i:%d a:%d mode:%#x\n", + cpsr, cpsr.f, cpsr.i, cpsr.a, cpsr.mode); Addr npc = tc->readNextPC() & ~PcModeMask; if (cpsr.j) npc = npc | (ULL(1) << PcJBitShift); -- cgit v1.2.3