From: Nilay Vaish Date: Tue, 28 Jun 2011 23:27:38 +0000 (-0500) Subject: arch: print next upc correctly X-Git-Tag: stable_2012_02_02~193 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4cfd65d2982f0f97304ef05083b40f3346a496f;p=gem5.git arch: print next upc correctly The patch corrects the print statement which prints the current and the next pc. Instead of the next upc, the next pc was being printed. --- diff --git a/src/arch/generic/types.hh b/src/arch/generic/types.hh index 050fbd56e..931c07134 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; }