diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2011-06-28 18:27:38 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2011-06-28 18:27:38 -0500 |
commit | f4cfd65d2982f0f97304ef05083b40f3346a496f (patch) | |
tree | 707b05d1a6ede320d8e0c87143747befc90d9027 /src | |
parent | d50aec8d9ae9c9e543494e118fc3be1645c3e9a3 (diff) | |
download | gem5-f4cfd65d2982f0f97304ef05083b40f3346a496f.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/generic/types.hh | 2 |
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; } |