From: Ali Saidi Date: Wed, 2 Jun 2010 17:58:13 +0000 (-0500) Subject: ARM: Add a traceflag to print cpsr X-Git-Tag: stable_2012_02_02~1145 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aec73ba6af62c8da66fb40e015671541708c1723;p=gem5.git ARM: Add a traceflag to print cpsr --- 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);