From f789d729b5855e0d46aab5d4975d41603d8d6d9b Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Fri, 31 Jul 2015 17:04:59 +0100 Subject: [PATCH] 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. --- src/cpu/minor/fetch1.cc | 4 ++-- 1 file 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"));