From: Andreas Sandberg Date: Fri, 31 Jul 2015 16:04:59 +0000 (+0100) Subject: cpu: Update debug message from Fetch1 isDrained() in Minor X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f789d729b5855e0d46aab5d4975d41603d8d6d9b;p=gem5.git 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. --- 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"));