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; fetchRedirect[tid] = true;
DPRINTF(IEW, "Execute: Branch mispredict detected.\n"); DPRINTF(IEW, "Execute: Branch mispredict detected.\n");
DPRINTF(IEW, "Predicted target was PC:%#x, NPC:%#x.\n", DPRINTF(IEW, "Predicted target was PC: %s.\n",
inst->predInstAddr(), inst->predNextInstAddr()); inst->readPredTarg());
DPRINTF(IEW, "Execute: Redirecting fetch to PC: %s.\n", 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. // If incorrect, then signal the ROB that it must be squashed.
squashDueToBranch(inst, tid); squashDueToBranch(inst, tid);

View file

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