projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d7d839
)
mem: Fix MSHR print format
author
Andreas Hansson
<andreas.hansson@arm.com>
Thu, 30 May 2013 16:54:09 +0000
(12:54 -0400)
committer
Andreas Hansson
<andreas.hansson@arm.com>
Thu, 30 May 2013 16:54:09 +0000
(12:54 -0400)
This patch fixes an incorrect print format string by adding an
additional string element.
src/mem/cache/mshr.cc
patch
|
blob
|
history
diff --git
a/src/mem/cache/mshr.cc
b/src/mem/cache/mshr.cc
index 32c87324bcb8164acf65b5788a12f76ab74c8fef..ac16568e8e115a0e077fcdf4b033445c0666a51d 100644
(file)
--- a/
src/mem/cache/mshr.cc
+++ b/
src/mem/cache/mshr.cc
@@
-462,7
+462,7
@@
MSHR::checkFunctional(PacketPtr pkt)
void
MSHR::print(std::ostream &os, int verbosity, const std::string &prefix) const
{
- ccprintf(os, "%s[%x:%x] %s %s %s state: %s %s %s %s\n",
+ ccprintf(os, "%s[%x:%x] %s %s %s state: %s %s %s %s
%s
\n",
prefix, addr, addr+size-1,
isForward ? "Forward" : "",
isForwardNoResponse() ? "ForwNoResp" : "",