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:
parent
d50aec8d9a
commit
f4cfd65d29
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue