diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-07-31 17:04:59 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2015-07-31 17:04:59 +0100 |
commit | f789d729b5855e0d46aab5d4975d41603d8d6d9b (patch) | |
tree | c438a90e6f3f036b8d8c02db849b855f66ef519a | |
parent | f73b05431a55e25d831c4bc8847f99f39a8d6b7d (diff) | |
download | gem5-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.cc | 4 |
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")); |