summaryrefslogtreecommitdiff
path: root/src/arch/generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/generic')
-rw-r--r--src/arch/generic/types.hh2
1 files changed, 1 insertions, 1 deletions
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<MachInst> &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;
}