diff --git a/src/arch/generic/types.hh b/src/arch/generic/types.hh index 050fbd56e9..931c071347 100644 --- a/src/arch/generic/types.hh +++ b/src/arch/generic/types.hh @@ -269,7 +269,7 @@ std::ostream & operator<<(std::ostream & os, const UPCState &pc) { ccprintf(os, "(%#x=>%#x).(%d=>%d)", - pc.pc(), pc.npc(), pc.upc(), pc.npc()); + pc.pc(), pc.npc(), pc.upc(), pc.nupc()); return os; }