DPRINTF: Improve some dprintf messages.

This commit is contained in:
Nilay Vaish 2012-01-10 10:15:02 -06:00
parent a5a2b9ecbd
commit 9957035a42
2 changed files with 4 additions and 4 deletions

View file

@ -1340,10 +1340,10 @@ DefaultIEW<Impl>::executeInsts()
fetchRedirect[tid] = true;
DPRINTF(IEW, "Execute: Branch mispredict detected.\n");
DPRINTF(IEW, "Predicted target was PC:%#x, NPC:%#x.\n",
inst->predInstAddr(), inst->predNextInstAddr());
DPRINTF(IEW, "Predicted target was PC: %s.\n",
inst->readPredTarg());
DPRINTF(IEW, "Execute: Redirecting fetch to PC: %s.\n",
inst->pcState(), inst->nextInstAddr());
inst->pcState());
// If incorrect, then signal the ROB that it must be squashed.
squashDueToBranch(inst, tid);

View file

@ -71,7 +71,7 @@ void
PioDevice::init()
{
if (!pioPort)
panic("Pio port not connected to anything!");
panic("Pio port of %s not connected to anything!", name());
pioPort->sendStatusChange(Port::RangeChange);
}