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

diffstat:

 src/cpu/minor/fetch1.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 7fc527ab626a -r d262e02c26b3 src/cpu/minor/fetch1.cc
--- a/src/cpu/minor/fetch1.cc   Fri Jul 31 17:04:59 2015 +0100
+++ b/src/cpu/minor/fetch1.cc   Fri Jul 31 17:04:59 2015 +0100
@@ -631,8 +631,8 @@
 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"));
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to