summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-07-31 17:04:59 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-07-31 17:04:59 +0100
commitf789d729b5855e0d46aab5d4975d41603d8d6d9b (patch)
treec438a90e6f3f036b8d8c02db849b855f66ef519a
parentf73b05431a55e25d831c4bc8847f99f39a8d6b7d (diff)
downloadgem5-f789d729b5855e0d46aab5d4975d41603d8d6d9b.tar.xz
cpu: Update debug message from Fetch1 isDrained() in Minor
Fix a spurious %s and include the state of the Fetch1 stage in the debug printout.
-rw-r--r--src/cpu/minor/fetch1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/minor/fetch1.cc b/src/cpu/minor/fetch1.cc
index 567bd2ecc..81fc99d37 100644
--- a/src/cpu/minor/fetch1.cc
+++ b/src/cpu/minor/fetch1.cc
@@ -631,8 +631,8 @@ Fetch1::evaluate()
bool
Fetch1::isDrained()
{
- DPRINTF(Drain, "isDrained %s %s%s%s\n",
- state == FetchHalted,
+ DPRINTF(Drain, "isDrained %s %s%s\n",
+ state,
(numInFlightFetches() == 0 ? "" : "inFlightFetches "),
((*out.inputWire).isBubble() ? "" : "outputtingLine"));