changeset 4adb1148ef73 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=4adb1148ef73
description:
        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:

 src/arch/generic/types.hh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0412ba528ad6 -r 4adb1148ef73 src/arch/generic/types.hh
--- a/src/arch/generic/types.hh Fri Jun 24 15:47:35 2011 -0500
+++ b/src/arch/generic/types.hh Tue Jun 28 18:27:38 2011 -0500
@@ -269,7 +269,7 @@
 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;
 }
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to