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.
This commit is contained in:
Andreas Sandberg 2015-07-31 17:04:59 +01:00
parent f73b05431a
commit f789d729b5

View file

@ -631,8 +631,8 @@ Fetch1::evaluate()
bool bool
Fetch1::isDrained() Fetch1::isDrained()
{ {
DPRINTF(Drain, "isDrained %s %s%s%s\n", DPRINTF(Drain, "isDrained %s %s%s\n",
state == FetchHalted, state,
(numInFlightFetches() == 0 ? "" : "inFlightFetches "), (numInFlightFetches() == 0 ? "" : "inFlightFetches "),
((*out.inputWire).isBubble() ? "" : "outputtingLine")); ((*out.inputWire).isBubble() ? "" : "outputtingLine"));