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.
This commit is contained in:
Nilay Vaish 2011-06-28 18:27:38 -05:00
parent d50aec8d9a
commit f4cfd65d29

View file

@ -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;
}