From f4cfd65d2982f0f97304ef05083b40f3346a496f Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 28 Jun 2011 18:27:38 -0500 Subject: 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. --- src/arch/generic/types.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/generic') 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; } -- cgit v1.2.3