projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d50aec8
)
arch: print next upc correctly
author
Nilay Vaish
<nilay@cs.wisc.edu>
Tue, 28 Jun 2011 23:27:38 +0000
(18:27 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Tue, 28 Jun 2011 23:27:38 +0000
(18:27 -0500)
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.
src/arch/generic/types.hh
patch
|
blob
|
history
diff --git
a/src/arch/generic/types.hh
b/src/arch/generic/types.hh
index 050fbd56e99546450b0ee98ea83c7fdf665ab186..931c0713475e1c0b15c0c95a60cc05c68163a668 100644
(file)
--- 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.n
u
pc());
return os;
}